Put closer
This commit is contained in:
parent
d3702b375b
commit
843f464713
1 changed files with 5 additions and 5 deletions
|
@ -11,6 +11,11 @@ type Stats struct {
|
||||||
Interval StatsInterval `json:"interval"`
|
Interval StatsInterval `json:"interval"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Stat struct {
|
||||||
|
Count int64 `json:"count"`
|
||||||
|
Time jsontypes.Time `json:"time"`
|
||||||
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
ErrInvalidInterval = errors.New("invalid interval")
|
ErrInvalidInterval = errors.New("invalid interval")
|
||||||
)
|
)
|
||||||
|
@ -39,8 +44,3 @@ func (si StatsInterval) IsValid() bool {
|
||||||
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
type Stat struct {
|
|
||||||
Count int64 `json:"count"`
|
|
||||||
Time jsontypes.Time `json:"time"`
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue