move git stuff out of main
This commit is contained in:
parent
bfb79c3f3c
commit
a021fab543
5 changed files with 250 additions and 230 deletions
7
types.go
7
types.go
|
|
@ -23,7 +23,11 @@ type Label struct {
|
|||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type PostLabels struct {
|
||||
type PostLabelsString struct {
|
||||
Labels []string `json:"labels"`
|
||||
}
|
||||
|
||||
type PostLabelsInt struct {
|
||||
Labels []int64 `json:"labels"`
|
||||
}
|
||||
|
||||
|
|
@ -33,6 +37,7 @@ type PushBody struct {
|
|||
}
|
||||
|
||||
type CommentBody struct {
|
||||
Action string `json:"action"`
|
||||
Issue Issue `json:"issue"`
|
||||
Comment Comment `json:"comment"`
|
||||
Repository Repository `json:"repository"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue