se77en / cookiecutter-golang

A Go project template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cookiecutter-golang

A Go project template for cookiecutter, Use it to make a new project built from scratch.

Use it now

If you don't have cookiecutter installed, you'll need to install that first using Python's pip command:

$ pip install cookiecutter

alternatively you can install cookiecutter via brew

$ brew intall cookiecutter

finally to run it based on this template just

$ cookiecutter https://github.com/lacion/cookiecutter-golang.git

You will be asked about your basic info (name, project name, app name, etc.). This info will be used to customize your new project.

Run make help to see the available management commands, or just run make to build your project.

Features

  • Generous Makefile with management commands
  • Works with either in a global GOPATH or with a local vendor directory
  • Uses glide for dependency management
  • Uses viper for env var config
  • Uses logrus for logging

About

A Go project template


Languages

Language:Go 73.1%Language:Makefile 26.2%Language:Shell 0.8%