Contributing to goflow#
Getting Started#
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/goflow.git - Create a new branch:
git checkout -b feature/your-feature-name
Development Setup#
# Install dependencies
go mod download
# Install development tools and pre-commit hook
make install-tools
make install-hooks
# Run tests
make test
# Run linter
make lint
# Run benchmarks
make benchmarkCode Guidelines#
- Follow Go idioms and conventions
- Write clear, concise comments
- Add tests for new functionality
- Update documentation as needed
- Ensure all tests pass before submitting
Pull Request Process#
- Ensure your code follows the project’s coding standards
- Add tests for any new functionality
- Update documentation if needed
- Submit a pull request with a clear description
- Address any feedback from maintainers
Testing#
- Write unit tests for all new code
- Ensure test coverage remains high
- Run the full test suite before submitting
License#
By contributing, you agree that your contributions will be licensed under the MIT License.