generator

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ElemLowerCharAndNum = StringElem(1)
	ElemUpperCharAndNum = StringElem(2)
	ElemAllChar         = StringElem(3)
)

Variables

This section is empty.

Functions

func GenOpenId

func GenOpenId() string

* Gen Open ID

func GenRandString

func GenRandString(length int, elem StringElem) (code string)

* Gen Rand String

func GenSerialNo

func GenSerialNo(prefix string, suffix string) string

* Gen Serial No

Types

type StringElem

type StringElem int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL