Windows 系统下安装
Windows 下可以使用 .msi 后缀(在下载列表中可以找到该文件,如go1.4.2.windows-amd64.msi)的安装包来安装。
默认情况下 .msi 文件会安装在 c:\Go 目录下。你可以将 c:\Go\bin 目录添加到 Path 环境变量中。添加后你需要重启命令窗口才能生效。
安装测试
创建工作目录 C:>Go_WorkSpace。
test.go 文件代码:
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
使用 go 命令执行以上代码输出结果如下:
C:\Go_WorkSpace>go run test.go
Hello, World!
https://jingyan.baidu.com/article/f96699bb04b663894f3c1b62.html
开发工具
https://github.com/visualfc/liteide/releases/tag/x37.4


liteide 启动编译和打包

web 创建和运行

go 学习代码
https://gitee.com/shirdonl/goWebActualCombat
网友评论