uid16

package
v0.0.0-...-faa4823 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EncodeStd = "0345678abcdefghijklmnopqrstuvwxy"
	Size      = 16
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

func NewFactory

func NewFactory() *Factory

func (*Factory) FromBytes

func (gen *Factory) FromBytes(input []byte) (u UId16, err error)

func (*Factory) FromString

func (gen *Factory) FromString(input string) (u UId16, err error)

func (*Factory) New

func (gen *Factory) New() UId16

type UId16

type UId16 [Size]byte

func (UId16) Bytes

func (u UId16) Bytes() []byte

func (*UId16) Shorten

func (u *UId16) Shorten() string

func (UId16) String

func (u UId16) String() string

Jump to

Keyboard shortcuts

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