_type

package
v0.0.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Point

type Point struct {
	Lat float64
	Lng float64
}

func NewPoint

func NewPoint(lat float64, lng float64) Point

func (Point) GormDBDataType

func (p Point) GormDBDataType(*gorm.DB, *schema.Field) string

func (Point) GormDataType

func (p Point) GormDataType() string

func (Point) GormValue

func (g Point) GormValue(_ context.Context, _ *gorm.DB) clause.Expr

func (*Point) Scan

func (p *Point) Scan(val interface{}) 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