uuid

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: GPL-3.0, GPL-3.0-or-later Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUIDWrapper

type UUIDWrapper[T any] struct {
	UUID uuid.UUID
}

func FromUUID

func FromUUID[T any](id uuid.UUID) UUIDWrapper[T]

func (UUIDWrapper[T]) IsNil

func (u UUIDWrapper[T]) IsNil() bool

func (*UUIDWrapper[T]) Scan

func (u *UUIDWrapper[T]) Scan(value any) error

Implement sql.Scanner

func (UUIDWrapper[T]) String

func (u UUIDWrapper[T]) String() string

func (UUIDWrapper[T]) Value

func (u UUIDWrapper[T]) Value() (driver.Value, error)

Implement driver.Valuer

Jump to

Keyboard shortcuts

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