firewut / general-go-project-template

General skeleton for a Golang Projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

general-go-project-template

Template of golang project which uses Python Invoke as replacement of Makefile

Python requirements Installation

To install required python modules execute:

pip install -r dev-tools/requirements.txt

Golang Packages

This skeleton contains a file dependencies.txt which has dependencies separated by \n.

To install packages:

invoke -r dev-tools get 

Test

To test

invoke -r dev-tools test
invoke -r dev-tools test --module=project/modules/config

Run

To execute a project

invoke -r dev-tools run 

Build binary

invoke -r dev-tools build

About

General skeleton for a Golang Projects

License:MIT License


Languages

Language:Python 90.3%Language:Go 9.7%