First of all, you need to have Golang installed. If you need help with this, you can check these docs.
Build the executable:
go build main.go
Run it:
./main
Run:
alias gcurl='curl --header "Authorization: Bearer $(gcloud auth print-identity-token)"'
Install docker and run
PORT=8080 docker build --tag mstock .
gcloud builds submit . --config ./ci/cloudbuild.yaml --substitutions=COMMIT_SHA="[something here]"