this is a simple golang app skeleton that proposes an architecture to provide:
- http server
- grpc server
- elasticSearch repository
- dependency injection (container)
- metrics middleware (prometheus)
- contextualised services (i.e: request-scoped services)
- Docker
- Docker-compose
- Golang with go-modules activated
go mod download
The skeleton app provides two commands/binaries:
- a gRPC & HTTP server
- a job
go run ./cmd/server
go run ./cmd/job
make proto