Documentation ¶
Index ¶
Constants ¶
View Source
const (
Base58 = "abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ123456789"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringGenerator ¶
type StringGenerator struct { Base string // contains filtered or unexported fields }
func NewStringGenerator ¶
func NewStringGenerator(base string) *StringGenerator
func (*StringGenerator) Generate ¶
func (sg *StringGenerator) Generate(length int) string
Click to show internal directories.
Click to hide internal directories.