LoginSignup
4
4

More than 5 years have passed since last update.

GOPATH のベストプラクティス

Last updated at Posted at 2015-05-31

通常の Go の開発(GAE以外)

mkdir -p ~/go/src

.bashrc に追加

export GOPATH=$HOME/go

Google App Engine/Go

まず、Google Cloud SDK をインストールする。
Google Cloud SDKでは、GOPATHが未設定なら自動的に ~/google-cloud-sdk/platform/google_appengine/gopath がGOPATHに設定されるので、通常開発時のGOPATHをunsetする

unset GOPATH
4
4
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
4
4