uuid

package
v0.0.0-...-1b479c1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetMachineId

func SetMachineId(mid uint16)

Types

type UUID

type UUID int64

func New

func New() UUID

func ParseHex

func ParseHex(str string) (UUID, error)

func (UUID) Hex

func (id UUID) Hex() string

func (UUID) MarshalJSON

func (id UUID) MarshalJSON() ([]byte, error)

func (UUID) String

func (id UUID) String() string

func (*UUID) UnmarshalJSON

func (id *UUID) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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