简单的使用示例说明


  • 本地编译

    go build hello.go
    
  • 交叉编译
    以交叉编译linux/loong64目标平台二进制为例:

    GOOS=linux GOARCH=loong64 go build hello.go
    


更多的用法请参考Golang社区文档: https://pkg.go.dev/cmd/go

©龙芯开源社区 all right reserved,powered by Gitbook文档更新时间: 2024-12-06 17:12:45

results matching ""

    No results matching ""

    results matching ""

      No results matching ""