calendarinterval

package
v8.7.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 7

Documentation

Overview

Package calendarinterval

Index

Constants

This section is empty.

Variables

View Source
var (
	Second = CalendarInterval{"second"}

	Minute = CalendarInterval{"minute"}

	Hour = CalendarInterval{"hour"}

	Day = CalendarInterval{"day"}

	Week = CalendarInterval{"week"}

	Month = CalendarInterval{"month"}

	Quarter = CalendarInterval{"quarter"}

	Year = CalendarInterval{"year"}
)

Functions

This section is empty.

Types

type CalendarInterval

type CalendarInterval struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/a4f7b5a7f95dad95712a6bbce449241cbb84698d/specification/_types/aggregations/bucket.ts#L112-L129

func (CalendarInterval) MarshalText

func (c CalendarInterval) MarshalText() (text []byte, err error)

func (CalendarInterval) String

func (c CalendarInterval) String() string

func (*CalendarInterval) UnmarshalText

func (c *CalendarInterval) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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