Go project skeleton template with Butler.
See here
Create a butler.yml
file in your working dir. See more options here
Example:
templates:
- name: skeleton
url: https://github.com/THE108/go-skeleton.git
variables:
repoPath: <your repo path>
useKafka: true
useCassandra: true
usePostgres: true
repoPath
- path for the repo you want to create (i.e $GOPATH/src
)
use*
- specify true
if the needed component must be generated
Now supported:
kafka
cassandra
postgresql
$ butler
- Create a new project
- Specify a project name
- Provide a description
- Set project destination to your project path (must be
repoPath/your-project-name
, i.e.$GOPATH/src/your-project
) - Press
y
- Enjoy!
MIT