mirror of https://github.com/go-sonic/sonic.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
445 B
Go
12 lines
445 B
Go
package param
|
|
|
|
type Photo struct {
|
|
Name string `json:"name" form:"name" binding:"gte=1"`
|
|
Thumbnail string `json:"thumbnail" form:"thumbnail" binding:"gte=1"`
|
|
TakeTime *int64 `json:"takeTime" form:"takeTime"`
|
|
URL string `json:"url" form:"url" binding:"gte=1"`
|
|
Team string `json:"team" form:"team"`
|
|
Location string `json:"location" form:"location"`
|
|
Description string `json:"description" form:"description"`
|
|
}
|