diff --git a/internal/operations/operations.go b/internal/operations/operations.go index a652c8a..7a7e2cd 100644 --- a/internal/operations/operations.go +++ b/internal/operations/operations.go @@ -13,7 +13,8 @@ import ( ) type Brief struct { - From, To time.Time `json:"from"` + From time.Time `json:"from"` + To time.Time `json:"to"` Completed int `json:"completed"` Failed int `json:"failed"` Blocked int `json:"blocked"` @@ -22,7 +23,9 @@ type Brief struct { Git GitSync `json:"git_sync"` } type GitSync struct { - Branch, Head, Status string `json:"branch" json:"head" json:"status"` + Branch string `json:"branch"` + Head string `json:"head"` + Status string `json:"status"` } type StandupItem struct {