Backend service built with Go.
- Go 1.25 or later
go run ./cmd/apiThe service listens on http://localhost:8080 by default.
curl -i http://localhost:8080/Configuration is provided through environment variables. See
.env.example.
gofmt -l .
go mod tidy
git status --short -- go.mod go.sum
go test ./...
go test -race ./...
go vet ./...
go build -o /tmp/blog-api ./cmd/apiGitHub Actions runs the checks for every push and pull request.