Adding more attribute to the Minter struct and reformating

This commit is contained in:
2026-06-18 22:19:50 +02:00
parent 4252fbc50b
commit 2ff46b201e
+5 -3
View File
@@ -14,6 +14,9 @@ type Minter struct {
oacounter int
activeCounters []Counter
inactiveCounters []Counter
total int
prefix string
mask string
}
func (m *Minter) Mint() string {
@@ -22,9 +25,8 @@ func (m *Minter) Mint() string {
func NewMinter() *Minter {
return &Minter{
oacounter: 0,
activeCounters: make([]Counter, 283),
oacounter: 0,
activeCounters: make([]Counter, 283),
inactiveCounters: make([]Counter),
}
}