-
Notifications
You must be signed in to change notification settings - Fork 10
/
exampleArrayConf.go
80 lines (68 loc) · 2.01 KB
/
exampleArrayConf.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// Code generated by archivist. DO NOT EDIT.
package conf
import (
"time"
"github.com/kingsgroupos/archivist/lib/go/archivist"
"github.com/kingsgroupos/misc/wtime"
"github.com/pkg/errors"
)
var (
_ = time.After
_ = errors.New
_ = archivist.NewArchivist
_ = wtime.ParseDuration
)
// easyjson:json
type ExampleArrayConf []*ExampleArrayConf_1771430469
// ExampleArrayConf_1771430469 represents /[]
type ExampleArrayConf_1771430469 struct {
AvatarUrl string `json:"avatar_url"`
Blog string `json:"blog"`
CreatedAt string `json:"created_at"`
EventsUrl string `json:"events_url"`
Followers int64 `json:"followers"`
FollowersUrl string `json:"followers_url"`
Following int64 `json:"following"`
FollowingUrl string `json:"following_url"`
GistsUrl string `json:"gists_url"`
GravatarId string `json:"gravatar_id"`
Hireable bool `json:"hireable"`
HtmlUrl string `json:"html_url"`
Id int64 `json:"id"`
Location string `json:"location"`
Login string `json:"login"`
Name string `json:"name"`
OrganizationsUrl string `json:"organizations_url"`
PublicGists int64 `json:"public_gists"`
PublicRepos int64 `json:"public_repos"`
ReceivedEventsUrl string `json:"received_events_url"`
ReposUrl string `json:"repos_url"`
SiteAdmin bool `json:"site_admin"`
StarredUrl string `json:"starred_url"`
SubscriptionsUrl string `json:"subscriptions_url"`
Type string `json:"type"`
UpdatedAt string `json:"updated_at"`
Url string `json:"url"`
}
func (this *ExampleArrayConf) bindRefs(c *Collection) error {
if this == nil {
return nil
}
var ok bool
_ = ok
v := *this
for _, v := range v {
if err := v.bindRefs(c); err != nil {
return err
}
}
return nil
}
func (this *ExampleArrayConf_1771430469) bindRefs(c *Collection) error {
if this == nil {
return nil
}
var ok bool
_ = ok
return nil
}