master
blob42 8 months ago
parent e4e57d7f71
commit aa63ee8961

@ -9,7 +9,7 @@ import (
"strings"
)
var idGenerator = genId()
var idGenerator = genID()
// The WorkUnit interface is used to define a unit of work.
// The Run method will be called in a goroutine.
@ -139,7 +139,7 @@ func (m *Manager) ShutdownOn(sig ...os.Signal) {
type IDGenerator func(string) int
func genId() IDGenerator {
func genID() IDGenerator {
ids := make(map[string]int)
return func(unit string) int {

Loading…
Cancel
Save