Product Catalog Service
When this service is run the output should be similar to the following
{"message":"successfully parsed product catalog json","severity":"info","timestamp":"2022-06-02T23:54:10.191283363Z"}
{"message":"starting grpc server at :3550","severity":"info","timestamp":"2022-06-02T23:54:10.191849078Z"}
Local Build
To build the service binary, run:
go build -o /go/bin/productcatalogservice/
Docker Build
From the root directory, run:
docker compose build productcatalogservice
Regenerate protos
[!NOTE]
protoc
is required.
To regenerate gRPC code run:
go generate
Bump dependencies
To bump all dependencies run:
go get -u -t ./...
go mod tidy