go-project-template

Installation

Instructions for setting up a local dev environment

Requirements

Name Description
Go “Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.”
Make Standard on Linux and macOS. A task runner that is used throughout this project. Running make will run commands in the Makefile.

Clone

$ git clone git@github.com:MichaelCurrin/go-project-template.git
$ cd go-project-template

Install system dependencies

Install Go on your system - see Install Go instructions.

Install project packages

This step is actually optional, as packages will be installed on an initial run.

$ make install

Maintain packages

Upgrade

Upgrade all packages to the latest versions:

$ make upgrade

Tidy

Install missing modules and removed unused modules from the lockfile:

$ make tidy

Commit the lockfile changes if any.