Thanks for your interest in contributing to Camp.
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/camp.git - Install Go 1.25 or higher
- Run
go mod downloadto install dependencies - Run
make runto start the server
- Create a new branch:
git checkout -b your-branch-name - Make your changes
- Test your changes:
go test ./... - Commit your changes with a clear message
- Push to your fork:
git push origin your-branch-name - Open a pull request
- Write clear, readable code
- Add tests for new features
- Keep functions small and focused
- Handle errors properly
- Follow Go's standard formatting (
go fmt)
Run tests before submitting:
go test ./...Add tests for any new code in *_test.go files.
- Describe what your changes do
- Reference any related issues
- Make sure tests pass
- Keep PRs focused on a single change
Open an issue if you need help or have questions.