blob: e70f4bfd30f3cdc507a9cf0c811d57b65153a06d [file] [log] [blame]
package impl
import "strconv"
// counter is a closure used for generating unique identifiers.
func counter() func() string {
var n int = 0
return func() string {
n++
return strconv.Itoa(n)
}
}