diff --git a/internal/utils.go b/internal/utils.go index 2e6bea9..de9b1bb 100644 --- a/internal/utils.go +++ b/internal/utils.go @@ -9,3 +9,17 @@ func NewCounter(top, value int) *Counter { c := Counter{top: top, value: value} return &c } + +type Minter struct { + oacounter int + activeCounters []Counter + inactiveCounters []Counter +} + +func NewMinter() *Minter { + return &Minter{ + oacounter: 0, + activeCounters: make([]Counter, 283), + inactiveCounters: make([]Counter), + } +}