This starter kit is meant to get you up and running with a Go project for developing RESTful services in Go.
The following Go packages have been used:
- Echo - High performance, minimalist Go web framework
- Dep - Go dependency management tool
- Realize - Golang Task Runner which enhance your workflow by automating the most common tasks and using the best performing Golang live reloading.
These instructions will get you a copy of the project up and running on your local machine for development, testing and building docker image.
- Docker 17.09.0+
- Docker Compose 3.4+
Start live-reload dev environment
$ make dev.up
#$ docker-compose up api
Add new dependency (package)
$ make dev.add.pkg {{package_url}}
#$ docker-compose run --rm api dep ensure -add {{package_url}}
Build docker image
$ make build
Run docker image
$ make run