Skip to content

Commit

Permalink
Added annotations for the JSON serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoraboeuf committed Mar 15, 2021
1 parent 76c40de commit c3c6aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/validateMetrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,6 @@ func init() {
}

type metric struct {
Name string
Value float64
Name string `json:"name"`
Value float64 `json:"value"`
}

0 comments on commit c3c6aab

Please sign in to comment.