distanceunit

package
v8.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Overview

Package distanceunit

Index

Constants

This section is empty.

Variables

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

	Feet = DistanceUnit{"ft"}

	Yards = DistanceUnit{"yd"}

	Miles = DistanceUnit{"mi"}

	Nauticmiles = DistanceUnit{"nmi"}

	Kilometers = DistanceUnit{"km"}

	Meters = DistanceUnit{"m"}

	Centimeters = DistanceUnit{"cm"}

	Millimeters = DistanceUnit{"mm"}
)

Functions

This section is empty.

Types

type DistanceUnit

type DistanceUnit struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/2f823ff6fcaa7f3f0f9b990dc90512d8901e5d64/specification/_types/Geo.ts#L30-L40

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