added labels

This commit is contained in:
ston1th 2019-12-06 23:20:20 +01:00
commit bfb79c3f3c
5 changed files with 243 additions and 29 deletions

View file

@ -18,7 +18,13 @@ type Head struct {
}
type Label struct {
Name string `json:"name"`
ID int64 `json:"id"`
Color string `json:"color"`
Name string `json:"name"`
}
type PostLabels struct {
Labels []int64 `json:"labels"`
}
type PushBody struct {