-
Notifications
You must be signed in to change notification settings - Fork 0
/
subtypes.go
47 lines (41 loc) · 1.11 KB
/
subtypes.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
37
38
39
40
41
42
43
44
45
46
47
package gorinth
type ModeratorMessage struct {
Message string `json:"message"`
Body string `json:"body"`
}
type License struct {
Id string `json:"id"`
Name string `json:"name"`
Url string `json:"url"`
}
type GalleryImage struct {
Url string `json:"url"`
Featured bool `json:"featured"`
Title string `json:"title"`
Description string `json:"description"`
Created string `json:"created"`
Ordering int `json:"ordering"`
}
type Dependency struct {
VersionId string `json:"version_id"`
ProjectId string `json:"project_id"`
FileName string `json:"file_name"`
DependencyType string `json:"dependency_type"`
}
type File struct {
Hashes struct {
sha512 string
sha1 string
} `json:"hashes"`
Url string `json:"url"`
Filename string `json:"filename"`
Primary bool `json:"primary"`
Size int `json:"size"`
FileType string `json:"file_type"`
}
type PayoutData struct {
Balance string `json:"balance"`
PayoutWallet string `json:"payout_wallet"`
PayoutWallerType string `json:"payout_wallet_type"`
PayoutAddress string `json:"payout_address"`
}