forked from Dictor/szurubooru-uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel.go
36 lines (31 loc) · 825 Bytes
/
model.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package main
type (
ReverseSearchResponse struct {
ExactPost Post `json:"exactPost`
SimilarPosts []SimilarPost `json:"similarPosts`
}
SimilarPost struct {
Distance float64 `json:"distance"`
Post Post `json:"post"`
}
Post struct {
Version int `json:"version"`
Id int `json:"id"`
Safety string `json:"safety"`
Tags []interface{} `json:"tags"`
ThumbnailUrl string `json:"thumbnailUrl"`
FavoriteCount int `json:"favoriteCount"`
}
BatchUploadFolder struct {
Name string
Number int
Path string
}
ListPostResponse struct {
Query string `json:"query"`
Offset int `json:"offset"`
Limit int `json:"limit"`
Total int `json:"total"`
Results []Post `json:"results"`
}
)