uuid6

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUID

type UUID ulid.ULID

func FromStr

func FromStr(id string) UUID

func FromUUID

func FromUUID(id uuid.UUID) UUID

func New

func New() UUID

func Nil

func Nil() UUID

func ParseStr

func ParseStr(in string) (UUID, error)

func (UUID) IsNil

func (u UUID) IsNil() bool

func (UUID) S

func (u UUID) S() string

func (*UUID) Scan

func (u *UUID) Scan(value any) error

Scan implements the Scanner interface.

func (UUID) String

func (u UUID) String() string

func (UUID) ToUUID

func (u UUID) ToUUID() uuid.UUID

func (UUID) Value

func (u UUID) Value() (driver.Value, error)

Value implements the driver Valuer interface.

Jump to

Keyboard shortcuts

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