Development Setup¶
Prerequisites¶
Install Tools¶
This installs Go 1.25 and golangci-lint 2.10.1.
Build¶
Produces server/folio.
Test¶
Lint¶
Documentation¶
Docker¶
Run locally:
All Make Targets¶
| Target | Description |
|---|---|
build |
Build server binary |
test |
Run unit tests |
lint |
Run golangci-lint |
fmt |
Format code |
tidy |
Run go mod tidy |
clean |
Remove build artifacts |
check |
Run lint + test |
coverage |
Tests with coverage report |
docs |
Build mkdocs site |
docs-serve |
Serve docs locally |
docker-build |
Build container image |