custom

package
v0.5.16 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomUUID

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

func NewCustomUUID

func NewCustomUUID(opts ...Option) *CustomUUID

func (*CustomUUID) New

func (c *CustomUUID) New() [16]byte

func (*CustomUUID) New32UUID

func (c *CustomUUID) New32UUID() uint32

func (*CustomUUID) New64UUID

func (c *CustomUUID) New64UUID() uint64

func (*CustomUUID) NewStringUUID

func (c *CustomUUID) NewStringUUID() string

NewStringUUID will return rfc 2141 uuid

func (*CustomUUID) ParseFromByte

func (c *CustomUUID) ParseFromByte(bytes []byte) string

type Option

type Option func(o *Options)

Option is the decorators func of change options variable

type Options

type Options struct {
	Seed uint16 `yaml:"seed"`
}

Jump to

Keyboard shortcuts

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