geodistancetype

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package geodistancetype

Index

Constants

This section is empty.

Variables

View Source
var (
	Arc = GeoDistanceType{"arc"}

	Plane = GeoDistanceType{"plane"}
)

Functions

This section is empty.

Types

type GeoDistanceType

type GeoDistanceType struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/1ad7fe36297b3a8e187b2259dedaf68a47bc236e/specification/_types/Geo.ts#L51-L54

func (GeoDistanceType) MarshalText

func (g GeoDistanceType) MarshalText() (text []byte, err error)

func (GeoDistanceType) String

func (g GeoDistanceType) String() string

func (*GeoDistanceType) UnmarshalText

func (g *GeoDistanceType) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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