distanceunit

package
v8.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Overview

Package distanceunit

Index

Constants

This section is empty.

Variables

View Source
var (
	In = DistanceUnit{"in"}

	Ft = DistanceUnit{"ft"}

	Yd = DistanceUnit{"yd"}

	Mi = DistanceUnit{"mi"}

	Nmi = DistanceUnit{"nmi"}

	Km = DistanceUnit{"km"}

	M = DistanceUnit{"m"}

	Cm = DistanceUnit{"cm"}

	Mm = DistanceUnit{"mm"}
)

Functions

This section is empty.

Types

type DistanceUnit

type DistanceUnit struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/3b09f9d8e90178243f8a340a7bc324aab152c602/specification/_types/Geo.ts#L30-L49

func (DistanceUnit) MarshalText

func (d DistanceUnit) MarshalText() (text []byte, err error)

func (DistanceUnit) String

func (d DistanceUnit) String() string

func (*DistanceUnit) UnmarshalText

func (d *DistanceUnit) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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