File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -69,15 +69,21 @@ Generated files and directories.
69
69
70
70
Generated struct file `./api.github.com/users/user/repos.go`.
71
71
```go
72
+ // Generated Code But Editable.
73
+ // Format The Code with `go fmt` or something and edit it manually to use it.
74
+ //
75
+ // Generated by: api-to-go (https://github.com/nkmr-jp/api-to-go).
76
+
72
77
package user
73
78
74
79
import "time"
75
80
76
- // Repos is the go struct of api' s payload.
77
- //
78
- // url: https://api.github.com/users/{user}/repos
79
- // example: https://api.github.com/users/github/repos
81
+ // Repos represents the response body from an HTTP request.
80
82
//
83
+ // Status: 200 OK
84
+ // Request: GET https://api.github.com/users/github/repos
85
+ // Format: /users/{user}/repos
86
+ // Docs: https://docs.github.com/en/rest
81
87
type Repos []struct {
82
88
ID int `json:"id"`
83
89
NodeID string `json:"node_id"`
@@ -150,6 +156,7 @@ type Repos []struct {
150
156
License interface{} `json:"license"`
151
157
AllowForking bool `json:"allow_forking"`
152
158
IsTemplate bool `json:"is_template"`
159
+ WebCommitSignoffRequired bool `json:"web_commit_signoff_required"`
153
160
Topics []interface{} `json:"topics"`
154
161
Visibility string `json:"visibility"`
155
162
Forks int `json:"forks"`
You can’t perform that action at this time.
0 commit comments