Adding more attribute to the Minter struct and reformating
This commit is contained in:
+3
-1
@@ -14,6 +14,9 @@ type Minter struct {
|
|||||||
oacounter int
|
oacounter int
|
||||||
activeCounters []Counter
|
activeCounters []Counter
|
||||||
inactiveCounters []Counter
|
inactiveCounters []Counter
|
||||||
|
total int
|
||||||
|
prefix string
|
||||||
|
mask string
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Minter) Mint() string {
|
func (m *Minter) Mint() string {
|
||||||
@@ -27,4 +30,3 @@ func NewMinter() *Minter {
|
|||||||
inactiveCounters: make([]Counter),
|
inactiveCounters: make([]Counter),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user