parray

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnumArray

type EnumArray[T ~string] []T

func (*EnumArray[T]) Scan

func (e *EnumArray[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (EnumArray[T]) Value

func (e EnumArray[T]) Value() (driver.Value, error)

Value implements the driver.Valuer interface.

type GenericArray

type GenericArray[T any] []T

func (*GenericArray[T]) Scan

func (e *GenericArray[T]) Scan(src any) error

Scan implements the sql.Scanner interface.

func (GenericArray[T]) Value

func (e GenericArray[T]) 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