Skip to content

evetsagg/go_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Microservice Template (WIP)

A Go Microservice template with sample logging (using zap), daos, docker files, etc.

General build and run instructions

To build

go build -o bin ./...

To run app using the binary built

./bin/app

Using Docker

To build a docker image

docker build -t <image_name>:<image_tag> .

To run the built docker image

docker run -d --name <container_name> -p 8080:8080 <image_name>:<image_tag

To use Docker-compose

docker-compose up -d

TODO

  • Sample Rest API client
  • Add validation framework to requests
  • Prometheus integration
  • Grafana integration
  • Use Gin framework

About

A Go Microservice template to get started

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published