From 843f464713e77fadf813e86934d530c185f447c4 Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Fri, 14 Feb 2025 16:27:48 -0500 Subject: [PATCH] Put closer --- pkg/calls/stats.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/calls/stats.go b/pkg/calls/stats.go index 06d6d90..7190c5c 100644 --- a/pkg/calls/stats.go +++ b/pkg/calls/stats.go @@ -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"` -}