Versions in this module Expand all Collapse all v0 v0.22.0 Jun 22, 2020 Changes in this version + const DefaultEntropySize + const V0Delimiter + var ErrIDEmpty error = errors.New("empty bloxid") + var ErrInvalidEntityType error = errors.New("entity type must be non-empty") + var ErrInvalidUniqueIDLen error = errors.New("unique ID did not meet minimum length requirements") + var ErrInvalidVersion error = errors.New("invalid bloxid version") + var ErrV0Parts error = errors.New("invalid number of parts found") + func WithShortID(shortid string) func(o *V0Options) + type GenerateV0Opts func(o *V0Options) + type ID interface + Region func() string + ShortID func() string + String func() string + Type func() string + Version func() string + type V0 struct + func GenerateV0(opts *V0Options, fnOpts ...GenerateV0Opts) (*V0, error) + func NewV0(bloxid string) (*V0, error) + func (v *V0) Region() string + func (v *V0) ShortID() string + func (v *V0) String() string + func (v *V0) Type() string + func (v *V0) Version() string + type V0Options struct + EntityType string + Region string + type Version uint8 + const Version0 + const VersionUnknown + func (v Version) String() string