Skip to content

Commit

Permalink
fix: update type
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Dec 9, 2020
1 parent 4e049c4 commit 418e9ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ordinary/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ func (c RGBA) RGBA() (r, g, b, a uint32) {
}

type GridLevelColor struct {
Value [2]float64 `json:"value" example:"0, 5"` // [0, 5]
Color RGBA `json:"color" example:"255, 255, 255, 255"` // [255, 255, 255, 255]
Value [2]float64 `json:"value" example:"0, 5"` // [0, 5]
Color RGBA `json:"color"` // [255, 255, 255, 255]
}

0 comments on commit 418e9ab

Please sign in to comment.