Title Date Modified Category
golang 2019-06-06 12:00 2019-06-06 12:00 every day use
  • go get github.com/xxx/xxx 安装包
  • go get -u github.com/xxx/xxx 更新

  • go doc http.ListenAndServe 查看doc

  • go run xxx.go 直接编译执行go

  • go build xxx.go 编译

  • go install

  • CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build # 交叉编译

results matching ""

    No results matching ""