Adding new type: Minter

This commit is contained in:
2026-06-16 21:43:55 +02:00
parent 1e89bffb7c
commit 2fbd5663f1
+14
View File
@@ -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),
}
}