types

package
v2.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2016 License: Apache-2.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Geometry

type Geometry struct {
	Type  string
	Point Point
	Line  Line
	Lines Lines
}

func (Geometry) MarshalRQL added in v0.6.0

func (g Geometry) MarshalRQL() (interface{}, error)

func (*Geometry) UnmarshalRQL added in v0.6.0

func (g *Geometry) UnmarshalRQL(data interface{}) error

type Line

type Line []Point

func UnmarshalLineString

func UnmarshalLineString(v interface{}) (Line, error)

func (Line) Coords added in v0.6.0

func (l Line) Coords() interface{}

func (Line) MarshalRQL added in v0.6.0

func (l Line) MarshalRQL() (interface{}, error)

func (*Line) UnmarshalRQL added in v0.6.0

func (l *Line) UnmarshalRQL(data interface{}) error

type Lines

type Lines []Line

func UnmarshalPolygon

func UnmarshalPolygon(v interface{}) (Lines, error)

func (Lines) Coords added in v0.6.0

func (l Lines) Coords() interface{}

func (Lines) MarshalRQL added in v0.6.0

func (l Lines) MarshalRQL() (interface{}, error)

func (*Lines) UnmarshalRQL added in v0.6.0

func (l *Lines) UnmarshalRQL(data interface{}) error

type Point

type Point struct {
	Lon float64
	Lat float64
}

func UnmarshalPoint

func UnmarshalPoint(v interface{}) (Point, error)

func (Point) Coords added in v0.6.0

func (p Point) Coords() interface{}

func (Point) MarshalRQL added in v0.6.0

func (p Point) MarshalRQL() (interface{}, error)

func (*Point) UnmarshalRQL added in v0.6.0

func (p *Point) UnmarshalRQL(data interface{}) error

Jump to

Keyboard shortcuts

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