docs(README): 重构项目结构文档并更新MySQL驱动配置
This commit is contained in:
17
common/contrib/files/README.md
Normal file
17
common/contrib/files/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# 文件上传驱动
|
||||
|
||||
## 本地文件上传(local)
|
||||
|
||||
配置文件中的配置项示例:
|
||||
|
||||
```yaml
|
||||
cool:
|
||||
file:
|
||||
mode: "local"
|
||||
domain: "http://127.0.0.1:8002"
|
||||
```
|
||||
驱动引入:
|
||||
|
||||
```go
|
||||
import _ "blazing/contrib/files/local"
|
||||
```
|
||||
Reference in New Issue
Block a user