1Panel/backend/app/dto/request/favorite.go

10 lines
168 B
Go
Raw Normal View History

package request
type FavoriteCreate struct {
Path string `json:"path" validate:"required"`
}
type FavoriteDelete struct {
ID uint `json:"id" validate:"required"`
}