Skip to content

Commit

Permalink
add json tag
Browse files Browse the repository at this point in the history
closes #42
  • Loading branch information
mattn committed Oct 21, 2018
1 parent ca35f2c commit 2267b92
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions time_entries.go
Expand Up @@ -21,12 +21,12 @@ type timeEntryRequest struct {
}

type TimeEntry struct {
Id int `json:"id"`
Project IdName `json:"project"`
Issue Id `json:"issue"`
User IdName `json:"user"`
Activity IdName `json:"activity"`
Hours float32
Id int `json:"id"`
Project IdName `json:"project"`
Issue Id `json:"issue"`
User IdName `json:"user"`
Activity IdName `json:"activity"`
Hours float32 `json:"hours"`
Comments string `json:"comments"`
SpentOn string `json:"spent_on"`
CreatedOn string `json:"created_on"`
Expand Down

0 comments on commit 2267b92

Please sign in to comment.