Files
go_process_manager/internal/app/model/file.go
2025-07-06 22:12:39 +08:00

15 lines
271 B
Go

package model
type FileStruct struct {
Name string `json:"name"`
IsDir bool `json:"isDir"`
}
type FilePathHandlerReq struct {
Path string `form:"path" binding:"required"`
}
type FileReadHandlerReq struct {
FilePath string `form:"filePath" binding:"required"`
}