Thanks for your interest in improving this project! This document explains how to set up a development environment and get your changes merged.
git clone https://github.com/opao-max/LocalBox.git
cd LocalBox
go version # requires Go 1.24+
go mod download- Fork the repository and create a branch from
main:git checkout -b feat/short-description - Make your change, keeping commits focused and using
Conventional Commits:
feat:,fix:,docs:,test:,refactor:,chore:. - Before pushing, run the same checks as CI:
go vet ./...
go build ./...
go test ./...
gofmt -l . # must print nothing- Push your branch and open a Pull Request, filling in the PR template.
- Run
gofmt/goimportsbefore every commit. - Exported identifiers must have doc comments.
- Prefer table-driven tests; cover error paths, not just the happy path.
- Keep public API changes backward compatible where possible; document
breaking changes in the PR description and
CHANGELOG.md.
Please use the Bug Report issue template and include a minimal reproduction.
By contributing, you agree that your contributions will be licensed under the repository's MIT License.