database

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeoPoint added in v1.1.2

type GeoPoint struct {
	X, Y float64
}

func (GeoPoint) GormDataType added in v1.1.2

func (loc GeoPoint) GormDataType() string

func (GeoPoint) GormValue added in v1.1.2

func (loc GeoPoint) GormValue(ctx context.Context, db *gorm.DB) clause.Expr

func (*GeoPoint) Scan added in v1.1.2

func (loc *GeoPoint) Scan(src interface{}) error

type JSONField

type JSONField []byte

func (JSONField) Equals

func (j JSONField) Equals(j1 JSONField) bool

func (JSONField) IsNull

func (j JSONField) IsNull() bool

func (JSONField) MarshalJSON

func (m JSONField) MarshalJSON() ([]byte, error)

func (*JSONField) Scan

func (j *JSONField) Scan(value interface{}) error

func (*JSONField) UnmarshalJSON

func (m *JSONField) UnmarshalJSON(data []byte) error

func (JSONField) Value

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

Jump to

Keyboard shortcuts

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