Welcome to gollm! We're excited that you're interested in contributing. This guide aims to make your contribution experience smooth and enjoyable.
- Simplicity is key: We believe in clear, readable code that speaks for itself.
- Learn by example: New features should come with well-commented examples.
- Open to all: Whether you're fixing a typo, adding a new provider or implementing a major feature, your contribution is valuable. (thank you !)
- Fork the repository and create your branch from
main
. - Make your changes:
- Focus on a single purpose per commit.
- Ensure your code is readable and well-commented.
- Add examples for new features.
- Test your changes to make sure everything works as expected.
go test -v (go list ./... | grep -v /examples)
- Submit a pull request with a clear title and description.
- Keep it simple: Aim for clear, concise code that others can easily understand.
- Comment your code: Explain the 'why' behind complex logic.
- Write examples: For new features, include a simple example of how to use it.
- Follow Go conventions: Use
gofmt
to format your code.
- Ask questions: If you're unsure about something, just ask! Open an issue or start a discussion.
- Join the community: https://discord.gg/Kk9sBTexG5
- Use the issue tracker to report bugs or suggest features.
- Describe what you expected to happen and what actually happened.
- Include as much information as possible: version numbers, operating system, etc.
Be kind, respectful, and inclusive. We want gollm to be a welcoming community for all.
Thank you for contributing to gollm! Your efforts help make this project better for everyone.