10
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Golandで go mod使う時の注意

Posted at

普段からGolandで開発してるんだけどプロジェクトでgo.modを使おうとして、コードは問題ないはずなのにimportをうまく認識してくれずに困ったのでメモ。

解決方法は単純でメニューのPreferencesから Go Modulesを有効にするだけ。
スクリーンショット 2019-04-05 11.48.33.png

go modは便利そうだけど、まだ情報が少なくて妙なところでハマりがち。

10
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?