This is a Golang microservice template.
It uses:
httprouter
for the routerlogrus
for loggingenvconfig
for env parserkingpin
for CLI args
To use this template:
- Use Github template to generate new project
- Replace the strings
go-template
andGO_TEMPLATE
with preferredservice-name
andSERVICE_NAME
. Ignoresed: RE error: illegal byte sequence
find . -maxdepth 3 -type f -exec sed -i "" 's/go-template/service-name/g' {} \;
find . -maxdepth 3 -type f -exec sed -i "" 's/GO_TEMPLATE/SERVICE_NAME/g' {} \;
mv .github.rename .github