issues
search
botan-party
/
hansel
DiscordからMinecraftゲームサーバ(EC2)を操作するDiscordBot
MIT License
0
stars
1
forks
source link
devcontainerのビルド時に、実行環境に不要なパッケージがgo modulesに入ってくる
#4
Closed
Sut103
closed
3 years ago
Sut103
commented
3 years ago
問題
devcontainerのビルド時にvscode(の拡張機能)が要求するパッケージを
$ go get
するようにしている。
このタイミングで
$ go get
するとgo.modに実行環境としては必要のないパッケージがたくさん入ってしまう。
Sut103
commented
3 years ago
$ go mod tidy
でとりあえず解決
問題
$ go get
するようにしている。$ go get
するとgo.modに実行環境としては必要のないパッケージがたくさん入ってしまう。