Put closer

This commit is contained in:
Daniel Ponte 2025-02-14 16:27:48 -05:00
parent d3702b375b
commit 843f464713

View file

@ -11,6 +11,11 @@ type Stats struct {
Interval StatsInterval `json:"interval"`
}
type Stat struct {
Count int64 `json:"count"`
Time jsontypes.Time `json:"time"`
}
var (
ErrInvalidInterval = errors.New("invalid interval")
)
@ -39,8 +44,3 @@ func (si StatsInterval) IsValid() bool {
return false
}
type Stat struct {
Count int64 `json:"count"`
Time jsontypes.Time `json:"time"`
}