json

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSON

type JSON struct {
	// contains filtered or unexported fields
}

func (JSON) GormDBDataType

func (JSON) GormDBDataType(db *gorm.DB, _ *schema.Field) string

func (JSON) GormDataType

func (JSON) GormDataType() string

func (JSON) MarshalJSON

func (j JSON) MarshalJSON() ([]byte, error)

func (JSON) MarshalText

func (j JSON) MarshalText() ([]byte, error)

func (*JSON) Scan

func (j *JSON) Scan(src any) error

func (*JSON) UnmarshalJSON

func (j *JSON) UnmarshalJSON(b []byte) error

func (*JSON) UnmarshalText

func (j *JSON) UnmarshalText(b []byte) error

func (JSON) Value

func (j JSON) Value() (driver.Value, error)

type JSONB

type JSONB JSON

func (JSONB) GormDBDataType

func (JSONB) GormDBDataType(db *gorm.DB, _ *schema.Field) string

func (JSONB) GormDataType

func (JSONB) GormDataType() string

func (JSONB) MarshalJSON

func (j JSONB) MarshalJSON() ([]byte, error)

func (JSONB) MarshalText

func (j JSONB) MarshalText() (text []byte, err error)

func (*JSONB) Scan

func (j *JSONB) Scan(src any) error

func (*JSONB) UnmarshalJSON

func (j *JSONB) UnmarshalJSON(b []byte) error

func (*JSONB) UnmarshalText

func (j *JSONB) UnmarshalText(text []byte) error

func (JSONB) Value

func (j JSONB) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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