# Build the Docker image
docker build -t my-go-microservice .
# Run the container
docker run -p 8999:8080 my-go-microservice
Then visit localhost:8999
in your browser.
$ curl localhost:8999/order
> Order received: 166412168
cd k8s/ && chmod +x deploy-dev.sh && ./deploy-dev.sh
Then visit localhost:30001
in your browser.
$ curl http://localhost:30001/order
> Order received: 274822750
Reveal security-related issues in the codebase.
gosec ./...
Lint the codebase.
golangci-lint run