Scalable Go Microservice Architecture Demo
.
├── cmd
│ └── server
│ └── main.go // application entrypoint
├── go.mod
├── go.sum
└── internal
└── app // application package
├── app.go // inits and runs applications
├── read_config.go // reads config using viper
├── read_config_test.go
└── server
├── config.go
├── factory.go
└── server.go
Lib | Desc |
---|---|
go.uber.org/zap | Fast, Production-ready logger library, subjectively believed to be the best |
spf13/viper | Complete configuration solution. Helps to parse config file and unmarshal to go struct |