Welcome to PS-Go! We appreciate your interest in contributing to this project. Your contributions can help make this repository a valuable resource for the Go community. Below are the guidelines to help you get started with contributing:
- How to Contribute
- Types of Contributions
- Creating Issues
- Submitting Pull Requests
- Code Style and Standards
- Commit Guidelines
- Attribution
- License
- Fork the repository to your GitHub account.
- Clone the forked repository to your local machine:
git clone https://github.com/your-username/ps-go.git
- Create a new branch for your contribution:
git checkout -b feature/new-feature
- Make your changes, additions, or improvements to the codebase.
- Commit your changes with clear and descriptive commit messages.
- Push your changes to your forked repository:
git push origin feature/new-feature
- Create a Pull Request (PR) from your branch to the
main
branch of the original repository.
You can contribute to PS-Go in several ways:
-
Adding New Exercises: If you have interesting programming exercises that you think will benefit others, feel free to create a new exercise folder and provide the problem statement, solution, and unit tests.
-
Improving Existing Exercises: If you notice any issues or have suggestions for improving the existing exercises, please submit your changes or improvements.
-
Enhancing Documentation: Clear and well-structured documentation is essential. If you find any areas that need better explanations or additional information, your documentation enhancements are highly appreciated.
-
Bug Fixes: If you come across any bugs or errors in the code, please submit a fix or create an issue to report the problem.
If you encounter any issues or have ideas for new features, you can create a GitHub issue. When creating an issue, please provide a clear and detailed description, along with any relevant code snippets or error messages.
When submitting a Pull Request (PR), please follow these guidelines:
- Make sure your code follows the code style and standards.
- Clearly describe the changes made in the PR description.
- Reference any related issues in the PR description using GitHub's issue linking syntax (e.g.,
Fixes #123
).
To maintain a consistent codebase, please adhere to the following guidelines:
- Use descriptive variable and function names.
- Write clear and concise comments to explain your code.
- Follow the official Go formatting guidelines.
- Use
gofmt
to format your code before submitting the PR.
Please follow the Conventional Commits specification for your commit messages. This helps in better understanding the changes made in each commit.
Contributors will be acknowledged in the repository's Contributors file. Please include your name and GitHub profile link when submitting your PR.
By contributing to this project, you agree that your contributions will be licensed under the project's MIT License.
Thank you for your contributions to PS-Go! Your efforts are valued and will benefit the Go community. 🚀💻