Skip to content
/ go-template Public template
forked from streamdal/go-template

Golang microservice template

Notifications You must be signed in to change notification settings

mkalenda/go-template

 
 

Repository files navigation

go-template

This is a Golang microservice template.

It uses:

  1. httprouter for the router
  2. logrus for logging
  3. envconfig for env parser
  4. kingpin for CLI args

To use this template:

  1. Use Github template to generate new project
  2. Replace the strings go-template and GO_TEMPLATE with preferred service-name and SERVICE_NAME. Ignore sed: RE error: illegal byte sequence
    1. find . -maxdepth 3 -type f -exec sed -i "" 's/go-template/service-name/g' {} \;
    2. find . -maxdepth 3 -type f -exec sed -i "" 's/GO_TEMPLATE/SERVICE_NAME/g' {} \;
    3. mv .github.rename .github

About

Golang microservice template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 70.8%
  • Python 14.6%
  • Makefile 11.5%
  • Dockerfile 2.1%
  • Shell 1.0%