uuid

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNil

func IsNil(u uuid.UUID) bool

IsNil checks if a UUID is nil

func IsValid

func IsValid(s string) bool

IsValid checks if a string is a valid UUID

func MustParse

func MustParse(s string) uuid.UUID

MustParse parses a UUID string and panics on error

func New

func New() string

New generates a new UUID v4

func NewUUID

func NewUUID() uuid.UUID

NewUUID returns a new UUID (as uuid.UUID type)

func Nil

func Nil() uuid.UUID

Nil returns the nil UUID

func Parse

func Parse(s string) (uuid.UUID, error)

Parse parses a UUID string

Types

This section is empty.

Jump to

Keyboard shortcuts

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