Golang Clean Architecture Sample

Project Full List what has been used:

  • echo - Web framework
  • viper - Go configuration with fangs
  • go-redis - Type-safe Redis client for Golang
  • zap - Logger
  • validator - Go Struct and Field validation
  • migrate - Database migrations. CLI and Golang library.
  • swag - Swagger
  • Docker - Docker

Recommendation for local development most comfortable usage

make local
make run

Docker-compose files:

docker-compose.yml - run postgresql, redis, prometheus, grafana container

Local development usage:

make local
make run

SWAGGER UI:

http://localhost:5000/swagger/index.html

Jaeger UI:

http://localhost:16686

Prometheus UI:

http://localhost:9090

Grafana UI:

http://localhost:3000