Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultUserCodeGenerator = &UCGenerator{}
Functions ¶
This section is empty.
Types ¶
type UCGenerator ¶
type UCGenerator struct{}
func (*UCGenerator) Generate ¶
func (ucg *UCGenerator) Generate() (string, error)
Generate generates a user code with length 9 in the form of 'XXXX-XXXX'
Click to show internal directories.
Click to hide internal directories.