First, make sure you have Go installed (version 1.18 or higher). You can download it from go.dev.
We use Go modules for dependency management.
Install dependencies:
go mod tidy
Run all tests:
go test ./...
Run tests with coverage:
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out # View coverage report in browser
Check code format:
gofumpt -l -w .
To build the project:
go build ./...