GOlang的学习笔记
github地址:https://github.com/zoulee24/GO_NoobNote
喜欢的可以star一下
安装GO编程环境
Windows
选择go1.x.x.windows-amd64.msi下载
运行go1.x.x.windows-amd64.msi
设置环境变量
搜索高级系统设置
添加系统变量
变量: GOPATH
值: C:\Users\你的用户名\go
变量: GOROOT
值: C:\Program Files\Go
HELLO WORLD BY GOLANG
package _01
import "fmt"
func main() {
fmt.Println("Hello, World!")
}