# goStudy **Repository Path**: liuda008/go-study ## Basic Information - **Project Name**: goStudy - **Description**: go语言学习之路 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-09-06 - **Last Updated**: 2021-09-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # goStudy ##### 一.入门前的准备 ###### 1.IDE(Goland)下载:https://www.jetbrains.com/go/download/#section=mac > 破解工具:https://vrg123.com/ ###### 2.go语言的背景:https://studygolang.com/articles/10000 > c++语言的简易、封装版 ###### 3.版本 > go语言版本:1.17 > 学习文档:https://studygolang.gitbook.io/learn-go-with-tests/ >> 本地命令行输入:go version >> 输出:go version go1.17 darwin/amd64 ##### 二.模块管理 1. 初始化模块 `go mod init ` > 例如:`go mod init github.com/tape/hello ` 2. 安装三方依赖 `go get ` > 例如:`go get github.com/subosito/gotenv ` 3. 本地模块名称替换 > `go mod edit -replace github.com/wayou/greetings=../greetings` 4. 依赖清理 > `go mod tidy`