go install github.com/oapi-codegen/oapi-codegen/v2/cmd/[email protected]
go install golang.org/x/tools/cmd/goimports@latest
go install github.com/segmentio/golines@latest
go install github.com/bombsimon/wsl/v4/cmd...@master
go install github.com/cespare/reflex@latest
To install Protobuf and gRPC, follow these steps:
- Install the Protobuf compiler:
- For Linux:
sudo apt install protobuf-compiler - For macOS:
brew install protobuf
- For Linux:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.2
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
export PATH="$PATH:$(go env GOPATH)/bin"
To build the Docker image for the subscriber service, use the following command, replacing the SCRIPT_DIR argument with the appropriate path to your script directory:
docker build -t notification-authentication-subs:latest \
-f ./docker/subscriber/Dockerfile \
--build-arg SCRIPT_DIR=./internal/notification/presentation/subscriber/authentication \
.