README ¶ go-uniqid Simple PHP uniqid() implementation in Golang How to use Just include our package go get github.com/mintance/go-uniqid See samples In PHP was: $id = uniqid("test", true); In Go type: id := uniqid.New(uniqid.Params{"test", true}) Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func New(params Params) string type Params Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(params Params) string Types ¶ type Params ¶ type Params struct { Prefix string MoreEntropy bool } Source Files ¶ View all Source files uniqid.go Click to show internal directories. Click to hide internal directories.