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

10 lines
168 B
Go

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