types

package
v0.0.0-...-ff2bd9c Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 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 IntArray

type IntArray []int

IntArray is an ADT to overcome the generic repo problem with pq.StringArray Value

func (*IntArray) Scan

func (a *IntArray) Scan(src interface{}) error

Scan override scan's function for IntArray (ADT) type

func (IntArray) Value

func (a IntArray) Value() (driver.Value, error)

Value override value's function for IntArray (ADT) type

type Metadata

type Metadata map[string]interface{}

Metadata is an ADT to overcome the generic repo problem with JSONB Value

func (*Metadata) Scan

func (p *Metadata) Scan(src interface{}) error

Scan override scan's function for metadata (ADT) type

func (Metadata) Value

func (p Metadata) Value() (driver.Value, error)

Value override value's function for metadata (ADT) type

type StringArray

type StringArray []string

StringArray is an ADT to overcome the generic repo problem with pq.StringArray Value

func (*StringArray) Scan

func (s *StringArray) Scan(src interface{}) error

Scan override scan's function for StringArray (ADT) type

func (StringArray) Value

func (s StringArray) Value() (driver.Value, error)

Value override value's function for StringArray (ADT) type

Jump to

Keyboard shortcuts

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