Allow upper and lower bound to be zero

pull/10616/head
Chris Goller 2016-11-30 15:22:35 -06:00 committed by Will Piers
parent cdf5bfb1e0
commit 5afad83d8b
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ type TimeSeries interface {
// Range represents an upper and lower bound for data
type Range struct {
Upper int64 `json:"upper,omitempty"` // Upper is the upper bound
Lower int64 `json:"lower,omitempty"` // Lower is the lower bound
Upper int64 `json:"upper"` // Upper is the upper bound
Lower int64 `json:"lower"` // Lower is the lower bound
}
// Query retrieves a Response from a TimeSeries.