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

Goland 交叉编译插件

  •  
  •   hoperuin ·
    hoperuin · Oct 8, 2019 · 5645 views
    This topic created in 2585 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
    zhengxiaowai
    Oct 8, 2019
    1
    go build CGO_ENABLED=0 GOOS=windows

    go build CGO_ENABLED=0 GOOS=linux

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