ensure reasonable ordering of declarations in source
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M domain/analytics/goatcounter/count.go → domain/analytics/goatcounter/count.go
@@ -14,8 +14,6 @@ "github.com/Southclaws/fault" "github.com/Southclaws/fault/fmsg" ) -const timeout = 5 * time.Second - type Options struct { URL *config.URL Logger *log.Logger@@ -46,6 +44,8 @@ type countBody struct { NoSessions bool `json:"no_sessions"` Hits []hit `json:"hits"` } + +const timeout = 5 * time.Second func New(options *Options) *Goatcounter { baseURL := options.URL