Thank you for your interest in contributing to CacheGrid!
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/cachegrid.git - Create a branch:
git checkout -b my-feature - Make your changes
- Run tests:
go test ./... -v - Push and open a Pull Request
- Go 1.22 or later
go build ./...go test ./... -v -count=1go test -bench=. -benchmemgo vet ./...- Write tests for new features
- Keep backward compatibility — existing tests must pass
- Follow existing code style and patterns
- Use
internal/for implementation details; public API lives at the package root - Keep the public API surface small and focused
- Avoid adding external dependencies unless absolutely necessary
- Ensure
go build ./...,go test ./..., andgo vet ./...pass - Update documentation if the public API changes
- Add tests for new functionality
- Keep commits focused — one logical change per commit
- Use GitHub Issues
- Include Go version, OS, and steps to reproduce
- For bugs, include a minimal reproduction if possible
Be respectful, constructive, and collaborative. We're all here to build something useful.