gobake is a cli tool to create directories for application and a file to export GO environment values.
- make directories for your application
- sniff your own project's GOPATH automatically and then create a file to export it.
make build
## You can run anywhere
gobake app [author name] [app name] <flags>
## Run in the same folder as go.mod file
gobake up
Output:
.gobake
export GOPATH=/Users/taisho6339/git/taisho6339/gobake
export PATH=$PATH:$GOPATH/bin
export GOENV_DISABLE_GOPATH=1
source .gobake
gobake is released under the MIT license. See LICENSE.