Writing documentation on utils
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 72/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- go
调研方向
首先列出 /utils 目录中的文件,并阅读每个 helper 导出的函数以及仓库其他位置中已有的使用方式。在每个工具文件旁创建一个 Markdown 文件,其中包含说明和一个简短的使用片段。当 /utils 中的每个文件都有对应的文档,说明其功能和使用方法时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Overview
Based on requests of some members of the API team, we will write documentation on how to use helper functions in the /utils directory.
- Create a
.mdfile for each file within the directory and add the explanation of what it does as well as a small snippet of code on how to use it. - You can get a piece of code from the other parts of repo that uses the helper or your own piece of code.
- For example,
├── logger.go
├── methods.go
├── regexes.go
└── utils_test.go
becomes
├── logger.go
├── logger.md
├── methods.go
├── methods.md
├── regexes.go
├── regexes.md
├── utils_test.go
└── utils_test.md
Note
This is especially important because as the team moves forward and develops more tools and features in the future, we need to utilize these helper more.
- 主要语言
- Go
- 星标
- 12
- 派生
- 54
- 平均合并
- 2 分钟
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
UTDNebula/api-tools 的其他 Issue
-
Improve unit tests in sectionParser_test.go可能已有人在做 @Sidd-Pelluru 于 21 天前认领。 未关闭L1 recommended for recruits
难度 2/5 1-3 小时 新手友好度 88/100
-
Improve unit tests in discountsParser_test.go可能已有人在做 @LikithInam 于 7 天前认领。 未关闭L1 recommended for recruits
难度 2/5 1-3 小时 新手友好度 88/100
-
L1 recommended for recruits
难度 2/5 1-3 小时 新手友好度 85/100
-
Comet Calendar events with multiple locations可能已有人在做 @azythromycin 于 1 天前认领。 未关闭L1 Type: Bug Report
难度 2/5 1-3 小时 新手友好度 76/100
-
Improve output in events.go可能已有人在做 @DennisOrtin 于 11 天前认领。 未关闭L1 recommended for recruits
难度 2/5 1-3 小时 新手友好度 76/100
查看 UTDNebula/api-tools 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
QuantumNous/new-api#7839 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
puppe1990/amarra-cais#355 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 72/100
Gentleman-Programming/engram#1899 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复