Skip to content

thetreep/toolbox

Repository files navigation

Toolbox

Build and Test Go

This repository holds a set of methods and interfaces to build production ready golang apps.

Prerequisites

I will need Go, Git, and Docker

How to build

    go mod vendor
    go mod download
    go build ./... # or make build

Running the tests

    make test # or go ./...

How to see docs

make doc

then wait 1 min and go to http://localhost:6060/pkg/github.com?thetreep/toolbox/

Enable Git Hooks

git config --local core.hooksPath .git-hooks/
GO111MODULE=on go get mvdan.cc/gofumpt