Go Server Starter
Go web server starter using Echo v4. ⚡
This repository provides a starting point for your first High Performance Web Server in Go.
Of course, this boilerplate is totally debatable meaning you are free to customize it on demand or contribute with feedback or code.
Features
Requirements
Install
make
Development
Run application and watch for changes:
make watch
Test application:
make test
Add missing and remove unused modules:
make tidy
Test a release (snapshot):
make release-test
Database
Settings via following environment variables:
DB_HOST
DB_PORT
DB_USERNAME
DB_PASSWORD
DB_NAME
DB_CHARSET
DB_PARSETIME
DB_LOC
Development database
Production
Release a versioned binary:
make release
Just build a single optimized binary:
make build
Contributions
Pull requests and issues are very appreciated.
License
MIT license
© 2019 Jose Quintana