primitive

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyID = errors.New("id: empty")

Functions

This section is empty.

Types

type ID

type ID uint64

func EmptyID

func EmptyID() ID

func NewIDFromString

func NewIDFromString(id string) (ID, error)

func NewIDFromUint64

func NewIDFromUint64(id uint64) ID

func (ID) Equals

func (id ID) Equals(cID ID) bool

func (ID) Key

func (id ID) Key() string

func (ID) String

func (id ID) String() string

func (ID) Uint64

func (id ID) Uint64() uint64

Jump to

Keyboard shortcuts

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