geom

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalGeometry4326

func MarshalGeometry4326(g Geometry4326) graphql.Marshaler

func MarshalNullGeometry4326

func MarshalNullGeometry4326(g NullGeometry4326) graphql.Marshaler

func NewPoint

func NewPoint(longitude, latitude string) (orb.Point, error)

Types

type Geometry4326

type Geometry4326 geojson.Geometry

func NewGeometry4326

func NewGeometry4326(coordinates orb.Geometry) Geometry4326

func UnmarshalGeometry4326

func UnmarshalGeometry4326(v interface{}) (Geometry4326, error)

func (*Geometry4326) Scan

func (g *Geometry4326) Scan(i interface{}) error

func (Geometry4326) Value

func (g Geometry4326) Value() (driver.Value, error)

type NullGeometry4326

type NullGeometry4326 struct {
	Geometry4326 Geometry4326
	Valid        bool
}

func UnmarshalNullGeometry4326

func UnmarshalNullGeometry4326(v interface{}) (NullGeometry4326, error)

func (*NullGeometry4326) Scan

func (n *NullGeometry4326) Scan(value interface{}) error

func (NullGeometry4326) Value

func (n NullGeometry4326) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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