/GoCookieCutter

A Go Project Cookie Cutter that gives us our standard Go Project Setup

Primary LanguageGoMIT LicenseMIT

SOON_ Go Cookie Cutter

A Go project template that gives us our standard Go project setup. Powered by Cookiecutter.

Features

  • Uses go mod for dependancy management
  • Uses viper for configuraiton
  • Uses cobra for CLI commands in cmd package
  • Uses zerolog for structured logging

Optional Features

  • Dockerfile for building go binary and dockerfile with final binary
  • Basic Gitlab or Circle CI config

Usage

  1. Get cookiecutter via pip or brew
  2. Use cookiecutter: cookiecutter https://github.com/thisissoon/GoCookieCutter.git
  3. Fill in the information cookiecutter asks you
  4. The project is now setup in name directory, cd into it
  5. Read the README.md