docs: refactor

This commit is contained in:
krau
2025-06-16 15:58:03 +08:00
parent 6566dbbf96
commit 4206d1fe96
25 changed files with 517 additions and 206 deletions

View File

@@ -0,0 +1,14 @@
---
title: "参与开发"
weight: 20
---
# 参与开发
## 贡献新存储端
1. Fork 本项目, 克隆到本地
2.`pkg/enums/storage/storages.go` 中添加新的存储端类型, 并运行代码生成
3.`config/storage` 目录下定义存储端配置, 并添加到 `config/storage/factory.go`
4.`storage` 目录下新建一个包, 编写存储端实现, 然后在 `storage/storage.go` 中导入并添加它
5. 更新文档, 添加配置说明