Skip to content

Conversation

@guni1192
Copy link
Member

@guni1192 guni1192 commented Oct 27, 2020

Why

  • ビルドするのにdepなどのサードパーティ製ソフトウェアをインストールするのは面倒
  • GOPATH以下にプロジェクトを配置しなければならない

How

Go ModulesというGo 1.11から導入されたGolang標準のパッケージマネージャを使う.
go mod コマンドで使うことができ,go.mod, go.sum が存在すれば,go build 時に依存関係の開発を行ってくれる.
これにより,depなどのサードパーティ製ソフトウェアは必要なく,GOPATH以下でなくともコンパイルできるようになる.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants