Thank you for your interest in contributing!
# Clone repository
git clone https://github.com/lattice-db/lattice.git
cd lattice
# Download dependencies
go mod download
# Run tests
go test ./...
# Run linting
gofmt -l .
go vet ./...- Follow Go conventions
- Use gofmt
- Add tests for new features
- Update documentation
Use conventional commits:
feat: add wal segment rotation
fix: correct checksum validation
docs: update storage format doc
test: add fuzz target for wal parser
go test ./...go test -fuzz=FuzzWAL ./internal/storagego test -v -run TestSimulator -seeds=1000 ./internal/sim- Fork repository
- Create feature branch
- Make changes with tests
- Submit pull request
By contributing, you agree that your contributions will be licensed under the MIT License.