mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-05-12 03:59:42 +08:00
464 B
464 B
title, weight
| title | weight |
|---|---|
| 参与开发 | 20 |
参与开发
贡献新存储端
- Fork 本项目, 克隆到本地
- 在
pkg/enums/storage/storages.go中添加新的存储端类型, 并运行代码生成 - 在
config/storage目录下定义存储端配置, 并添加到config/storage/factory.go中 - 在
storage目录下新建一个包, 编写存储端实现, 然后在storage/storage.go中导入并添加它 - 更新文档, 添加配置说明