From 5289ca95498e2c40d761c4061325e305516c85be Mon Sep 17 00:00:00 2001 From: Daniel Rocha Date: Mon, 25 Apr 2022 11:58:08 +0200 Subject: [PATCH] chore: document internal constants --- pkg/htp/model.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/htp/model.go b/pkg/htp/model.go index be579d7..e16d6a6 100644 --- a/pkg/htp/model.go +++ b/pkg/htp/model.go @@ -9,8 +9,8 @@ import ( ) const ( - second = int64(time.Second) - samples = 3 + second = int64(time.Second) // Number of nanoseconds in one second + samples = 3 // Number of samples in our moving average ) type SyncRound struct {