Thanks for your interest in contributing!
- Fork the repository
- Clone your fork:
git clone https://github.com/<username>/gomapper.git - Create a branch:
git checkout -b my-feature - Make your changes
- Run checks:
make ci - Push and open a pull request
- Go 1.26+
- golangci-lint v2
make test # run tests with race detector
make bench # run benchmarks
make lint # run linter
make ci # run all checks- Follow standard Go conventions
- Run
gofmtandgoimportsbefore committing - All exported types and functions must have doc comments
- Keep test coverage high for new code
- Keep PRs focused on a single change
- Include tests for new functionality
- Update documentation if the public API changes
- Ensure
make cipasses before requesting review
- Use GitHub Issues
- Include Go version, OS, and a minimal reproduction
By contributing you agree that your contributions will be licensed under the MIT License.