This repository is a boilerplate for go project in STUDIO.
- Go 1.17.0 >=
- Docker 3.6.0 >=
- Initialize project
go mod init go-cloudrun-boilerplate go mod tidy
APP_ENV=test PROJECT_UUID=<Project UUID> PROJECT_ID=<Project ID here> GOOGLE_APPLICATION_CREDENTIALS=<Service Account file path here> go test -v -race -run=. -bench=. ./...
go fmt ./...
go mod tidy