Thank you for your interest in contributing to Iris API 🎉 We welcome all kinds of contributions — from bug reports and feature suggestions to code improvements and documentation updates.
- Fork the repository and clone your fork locally.
- Create a new branch from
mainfor your changes.
git checkout -b feature/your-feature-nameWe use staticcheck for Go code linting.
Before committing, make sure your code passes all lint checks:
staticcheck ./...Run the unit tests to ensure your changes do not break existing functionality:
go test ./...You can run the project locally with mocked Firebase or database services by setting the appropriate environment variables (see the configuration documentation). This allows development and testing without relying on external dependencies.
- Write clean, well-documented code. Each exported function, struct, or method should have a GoDoc comment describing its purpose and behavior.
- Follow existing code style and structure.
- Keep commits focused and meaningful — one logical change per commit.
- Update or add tests when applicable.
-
Push your branch to your fork.
-
Open a Pull Request (PR) against the
mainbranch. -
In your PR description:
- Explain why you’re making the change.
- Describe what it does.
- Mention any relevant issues or discussions.
The maintainers will review your PR and may request changes or improvements before merging.
- The current version is tracked in
version.yaml. - All version updates and notable changes must be documented in
CHANGELOG.md. - Follow Semantic Versioning when incrementing versions.
Once your contribution is merged, please add your name to the list of contributors in the README.md file under the “Contributors” section.
We appreciate your efforts and want to give you proper credit for your work.