Feat: after uploading hooks and checks
This commit is contained in:
12
pkg/filesystem/context.go
Normal file
12
pkg/filesystem/context.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package filesystem
|
||||
|
||||
type key int
|
||||
|
||||
const (
|
||||
// GinCtx Gin的上下文
|
||||
GinCtx key = iota
|
||||
// SavePathCtx 文件物理路径
|
||||
SavePathCtx
|
||||
// FileCtx 上传的文件
|
||||
FileCtx
|
||||
)
|
||||
Reference in New Issue
Block a user