$ bundle gem $my_app -t rspec -b
Installing the local gem:
$ gem build $my_app.gemspec
$ gem install $my_app-<version>.gem
$ $my_app
Or to create a simple project:
$ mkdir $my_app
$ cd $my_app
$ bundle init
$ mkdir -p $my_project/cmd/$my_app
$ cd !$
$ go mod init github.com/dlresende/$my_project
$ touch $my_project/cmd/$my_app/main.go
Conventions for file structure: https://flaviocopes.com/go-filesystem-structure/
Useful commands:
$ godoc -http=localhost:6060 # spins up a static server with go docs
$ mvn archetype:generate -DgroupId=$my_app -DartifactId=$my_app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false