sgraham785 / golang-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

golang-starter project

This layouts the basic directory structure for a project in Go

Development with Docker

Initial:

make dev

and you will get a container running the app, db migrations run, and file watching for development.

Starting existing dev containers:

make compose-up

Rebuilding the container:

make compose-build

Stop and destory containers:

make compose-down

See Makefile for more cmds

Adding Dependancies

We are using Go Modules

Todos

  • Sample todo

How to Document Architecture Decisions?

Create Architecture Decision Record using the following command

adr new Implement as Unix shell scripts

For more info go here

OSX

To generate the protocol buffers in osx please run the following

go install github.com/gogo/protobuf/protoc-gen-gogofast
go install github.com/gogo/protobuf/protoc-gen-gogofaster

About


Languages

Language:Makefile 73.7%Language:Go 21.4%Language:TSQL 2.3%Language:PLpgSQL 1.3%Language:Dockerfile 1.2%