Skip to content

Instantly share code, notes, and snippets.

@leonmak
Created June 11, 2018 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leonmak/9d448fa3ebe53a09a9a17379a2b9954d to your computer and use it in GitHub Desktop.
Save leonmak/9d448fa3ebe53a09a9a17379a2b9954d to your computer and use it in GitHub Desktop.
go environment setup for gotchas
# . set_gopath.sh
export GOPATH=`pwd`
export PATH="$GOPATH/bin:$PATH"
# for mac osx
# export GOBIN=$GOPATH/bin
# unset if `flogo build`
git config --global --unset alias.gb
# env GOARM=6 GOARCH=arm GOOS=linux flogo build -o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment