Skip to content

THE108/go-skeleton

Repository files navigation

gopher skull

Go project skeleton

Go project skeleton template with Butler.

Installation

See here

Usage

1. Configure:

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

2. Run butler:

$ butler

3. Go through the wizard's steps:

  • 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!

LICENCE

MIT

About

Go project skeleton 💀

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published