Skip to content

codemodus/uidgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uidgen

go get -u github.com/codemodus/uidgen

Usage

type UID
    func (u UID) Bytes() []byte
    func (u *UID) Scan(src interface{}) error
    func (u UID) String() string
    func (u *UID) Value() (driver.Value, error)
type UIDGen
    func New(offset uint64, vt ValueType) *UIDGen
    func (g *UIDGen) Parse(s string) (UID, bool)
    func (g *UIDGen) UID() UID
type ValueType
type ValueType uint8

const (
    BINARY16 ValueType = iota
    VARCHAR26
)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages