uid

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID string

func FromString

func FromString(s string) (ID, error)

func New

func New() ID

func NilID

func NilID() ID

func (ID) IsNil

func (u ID) IsNil() bool

func (ID) MarshalJSON added in v1.12.0

func (u ID) MarshalJSON() ([]byte, error)

func (ID) String

func (u ID) String() string

Jump to

Keyboard shortcuts

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