recommendationservice

command module
v0.0.0-...-a331d65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

README

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

Documentation

Overview

Copyright The OpenTelemetry Authors SPDX-License-Identifier: Apache-2.0

Directories

Path Synopsis
genproto

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL