1.Rocket Service Mocks
go:generate mockgen -destination=rocket_mocks_test.go -package=rocket github.com/rsh456/go-grpc-services/internal/rocket Store as a comment where Store indicates the interface to be mocked
go generate ./....
2.Test Service
go test ./... -v
- Running postgres locally with Docker
docker run --name rocket-inventory-db -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres