emahiro/b.log

Drastically Repeat Yourself !!!!

intellij で go module の設定を行う

intellij で go module を設定して開発を行う設定を行います。

手順

Preference > Languages & Frameworks > Go > Go Modules(vgo) を選択。

f:id:ema_hiro:20190412020707p:plain

Enable Go Modules(vgo) integration を ON にする。

f:id:ema_hiro:20190412020719p:plain

Vgo Executable は 使っている go の version(SDK) を指定する。
Proxy は direct を設定する。

これで Go Modules の設定は完了です。

参考

Go modules (vgo) - Help | GoLand