gopacker/CONTRIBUTING.md

35 lines
858 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 贡献指南
欢迎为 GoPacker 项目贡献代码!以下是贡献流程和规范。
## 开发流程
1. Fork 本项目到你的 GitHub 账户。
2. 克隆你的 Fork 到本地:
```bash
git clone https://github.com/your-username/gopacker.git
```
3. 创建新分支:
```bash
git checkout -b feature/your-feature
```
4. 提交代码变更并推送到你的 Fork
```bash
git push origin feature/your-feature
```
5. 提交 Pull Request 到主仓库的 `main` 分支。
## 代码风格
- 遵循 Go 官方代码风格(使用 `gofmt` 格式化代码)。
- 提交信息需清晰描述变更内容。
- 确保代码通过测试(如果有)。
## 构建与测试
- 使用 `make build` 构建项目。
- 运行 `make clean` 清理构建产物。
## 问题反馈
请在 GitHub Issues 中报告问题或提出建议。