Contributing
We welcome contributions to DAI!
Whether it's fixing a bug, improving documentation, or adding a new feature, your help is appreciated.
How to contribute
-
Fork the repository
Click the "Fork" button at the top-right of the DAI repository. -
Clone your fork
git clone https://github.com/<your-username>/dai.git
cd dai
- Create a new branch
git checkout -b feature/my-new-feature
- Make changes
- Follow Go best practices.
- Format your code with
gofmt
. -
Keep functions small and modular.
-
Test your changes
go test ./...
- Commit changes
git add .
git commit -m "Add my new feature"
- Push to your fork
git push origin feature/my-new-feature
- Open a Pull Request
Go to your fork on GitHub and click "Compare & pull request".
Code style guidelines
- Use
gofmt
before committing. - Follow idiomatic Go naming conventions.
- Keep CLI command descriptions clear and concise.
- Avoid introducing unnecessary dependencies.
Reporting issues
If you find a bug, please open a GitHub issue with: - Steps to reproduce - Expected behavior - Actual behavior - Any relevant logs or screenshots
Next: License