extype

package
v0.0.0-...-99d3baa Latest Latest
Warning

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

Go to latest
Published: Aug 16, 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 NullPoint

type NullPoint struct {
	Point Point
	Valid bool
}

func (*NullPoint) Scan

func (np *NullPoint) Scan(val any) error

func (NullPoint) Value

func (np NullPoint) Value() (driver.Value, error)

type Point

type Point struct {
	Lng, Lat float64
}

func (Point) GormDataType

func (p Point) GormDataType() string

func (Point) GormValue

func (p Point) GormValue(ctx context.Context, db *gorm.DB) clause.Expr

func (*Point) Scan

func (p *Point) Scan(value any) error

func (*Point) String

func (p *Point) String() string

func (*Point) Value

func (p *Point) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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