uuid

package
v0.0.0-...-bff178f Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUIDArray

type UUIDArray []uuid.UUID

func (UUIDArray) GormDBDataType

func (UUIDArray) GormDBDataType(db *gorm.DB, field *schema.Field) string

GormDBDataType defines the database data type for different databases

func (UUIDArray) GormDataType

func (UUIDArray) GormDataType() string

GormDataType defines the common data type in GORM

func (*UUIDArray) Scan

func (ua *UUIDArray) Scan(value interface{}) error

Scan implements the sql.Scanner interface

func (UUIDArray) Value

func (ua UUIDArray) Value() (driver.Value, error)

Value implements the driver.Valuer interface for converting Golang arrays to PostgreSQL arrays.

Jump to

Keyboard shortcuts

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