• 将环境变量设置为liunx
    set GOARCH=amd64
    set GOOS=linux
    set GOHOSTOS=liunx
  • 重新编译生成pb
    go mod tidy 
    go mod vendor
    go generate ./...
  • 输出发布文件
    go build -o c:/ ./...

相关文章:

  • 2021-08-03
  • 2021-11-30
  • 2021-10-12
  • 2021-04-17
  • 2021-05-29
  • 2021-10-17
  • 2022-12-23
  • 2021-10-14
猜你喜欢
  • 2021-03-31
  • 2021-10-10
  • 2022-12-23
  • 2021-07-01
  • 2021-06-15
  • 2021-07-02
相关资源
相似解决方案