GO in IntelliJ IDEA. Multiple File and Error Undefined: Data

前端 未结 4 2098
你的背包
你的背包 2021-02-02 17:25

I want use IntelliJ IDE Community Edition to write code in GO (GoLang). I instaled right plugin, and instaled all need tools to build applicati

4条回答
  •  被撕碎了的回忆
    2021-02-02 17:53

    Sarp Kaya, just follow Mbded steps. Additional step is, ensure that your additional GOPATH should be there.

    For example, this is our ~/.profile GOPATH

    export GOPATH=$HOME/lib/Go:$HOME/Development/Go
    

    The first path used by go get processes etc, while your active go development directory goes to the next path.

    According to our config, the RightApp exact path should be $HOME/Development/Go/src/RightApp.

提交回复
热议问题