The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
hoperuin

Goland 交叉编译插件

  •  
  •   hoperuin ·
    hoperuin · Oct 8, 2019 · 5230 views
    This topic created in 2407 days ago, the information mentioned may be changed or developed.

    因为运行环境是 linux,但开发环境是 windows 或者 macos,使用命令行又太麻烦,所以开发了此插件。

    https://github.com/hoperuin/go-cross-build

    下载 jar,使用本地安装,main.go 右键 Generate...即可交叉编译,目前支持 Linux,Windows,MacOS

    5 replies    2019-10-16 17:11:58 +08:00
    zhengxiaowai
        1
    zhengxiaowai  
       Oct 8, 2019
    go build CGO_ENABLED=0 GOOS=windows

    go build CGO_ENABLED=0 GOOS=linux

    ????
    javapythongo
        2
    javapythongo  
       Oct 9, 2019
    goland 可以设置编译环境
    YakuMioto
        3
    YakuMioto  
       Oct 9, 2019
    一脸懵逼...
    Yooloo
        4
    Yooloo  
       Oct 12, 2019
    Goland 不是可以随便编译吗。。。
    chenchengbin
        5
    chenchengbin  
       Oct 16, 2019
    goland 设置编译环境就好了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   999 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 22:16 · PVG 06:16 · LAX 15:16 · JFK 18:16
    ♥ Do have faith in what you're doing.