distanceunit

package
v8.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 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/b89646a75dd9e8001caf92d22bd8b3704c59dfdf/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