uuid

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

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 11 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 [16]byte
var Nil UUID

func NewV4

func NewV4() (UUID, error)

func NewV7

func NewV7() (UUID, error)

func Parse

func Parse(str string) (UUID, error)

func (UUID) IsNil

func (id UUID) IsNil() bool

func (UUID) IsValidV4

func (id UUID) IsValidV4() bool

func (UUID) IsValidV7

func (id UUID) IsValidV7() bool

func (*UUID) Scan

func (id *UUID) Scan(src any) error

func (UUID) String

func (id UUID) String() string

func (UUID) Value

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

Jump to

Keyboard shortcuts

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