mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-23 12:24:33 +00:00
feat[go]: 支持go的单机服务器
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
## 1. go安装,windows
|
||||
|
||||
- 下载地址:https://golang.google.cn/dl/,这里提供了不同平台的go版本,根据自己的平台选择下载
|
||||
|
||||
- 安装完成后,把C:\go\bin目录添加到环境变量,这里就可以使用go了,在命令行输入 go version查看版本
|
||||
|
||||
```
|
||||
最新版本得会自动添加path
|
||||
```
|
||||
|
||||
## 常用命令
|
||||
|
||||
- go run xx.go 运行go程序
|
||||
|
||||
- go env 打印go得环境变量
|
||||
|
||||
- go get mysql 下载包
|
||||
Reference in New Issue
Block a user