move git stuff out of main

This commit is contained in:
ston1th 2019-12-10 00:04:27 +01:00
commit a021fab543
5 changed files with 250 additions and 230 deletions

View file

@ -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"`