Golang
Golang
Download and install
Documentation
A Tour of Go
Go by Example
command
init 初始化
| |
run 运行不会生成二进制文件
| |
test 在有单元测试的module中运行
| |
build 打包
| |
install 安装
| |
dependency
配置国内加速镜像
查看全部配置
| |
配置
| |
多个地址
| |
查看指定依赖
| |
添加指定依赖
| |
将依赖指向本地文件系统
| |
整理项目
会移除未使用的 modules 会自动添加 go.mod 中构建包所需的 modules
| |
移除依赖 @none
| |
清空模块缓存
| |