A hands-on practice for GRPC service to calculate median
- Use
fx
- Modulize configs
- Use logger
- Use cobra cli pkg
- Familiar with options pattern
- Use grpc
- Use grpc-gateway to generate and export http interface
- Use grpc-gateway to generate openapi docs https://earthly.dev/blog/golang-grpc-gateway/
- Use protoc-gen-validate
- Use
buf
https://docs.buf.build/installation - Use taskfile
- Use
tools.go
to manage tool dependencies https://www.alexedwards.net/blog/using-go-run-to-manage-tool-dependencies - Deploy Minikube