参与开发
贡献新存储端
- Fork 本项目, 克隆到本地
- 在
config/storage目录下定义存储端配置, 并添加到config/storage/factory.go中 - 在
types/types.go中添加新的存储端类型 - 在
storage目录下新建一个包, 编写存储端实现, 然后在storage/storage.go中导入并添加它 - 更新
config.example.toml文件, 添加新的示例配置
可能确实有点麻烦了 = =
config/storage 目录下定义存储端配置, 并添加到 config/storage/factory.go 中types/types.go 中添加新的存储端类型storage 目录下新建一个包, 编写存储端实现, 然后在 storage/storage.go 中导入并添加它config.example.toml 文件, 添加新的示例配置可能确实有点麻烦了 = =