1Panel/backend/app/dto/file.go
2022-09-07 14:03:24 +08:00

18 lines
319 B
Go

package dto
import "github.com/1Panel-dev/1Panel/utils/files"
type FileOption struct {
files.FileOption
}
type FileInfo struct {
files.FileInfo
}
type FileTree struct {
ID string `json:"id"`
Name string `json:"name"`
Path string `json:"path"`
Children []FileTree `json:"children"`
}