builtin

package
v0.0.1-alpha3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicDate

type BasicDate time.Time

BasicDate is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_date"

func (BasicDate) MarshalJSON

func (t BasicDate) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (BasicDate) String

func (t BasicDate) String() string

String implements fmt.Stringer

func (*BasicDate) UnmarshalJSON

func (t *BasicDate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type BasicDateTime

type BasicDateTime time.Time

BasicDateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_date_time"

func (BasicDateTime) MarshalJSON

func (t BasicDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (BasicDateTime) String

func (t BasicDateTime) String() string

String implements fmt.Stringer

func (*BasicDateTime) UnmarshalJSON

func (t *BasicDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type BasicDateTimeNoMillis

type BasicDateTimeNoMillis time.Time

BasicDateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_date_time_no_millis"

func (BasicDateTimeNoMillis) MarshalJSON

func (t BasicDateTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (BasicDateTimeNoMillis) String

func (t BasicDateTimeNoMillis) String() string

String implements fmt.Stringer

func (*BasicDateTimeNoMillis) UnmarshalJSON

func (t *BasicDateTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type BasicOrdinalDate

type BasicOrdinalDate time.Time

BasicOrdinalDate is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_ordinal_date"

func (BasicOrdinalDate) MarshalJSON

func (t BasicOrdinalDate) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (BasicOrdinalDate) String

func (t BasicOrdinalDate) String() string

String implements fmt.Stringer

func (*BasicOrdinalDate) UnmarshalJSON

func (t *BasicOrdinalDate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type BasicOrdinalDateTime

type BasicOrdinalDateTime time.Time

BasicOrdinalDateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_ordinal_date_time"

func (BasicOrdinalDateTime) MarshalJSON

func (t BasicOrdinalDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (BasicOrdinalDateTime) String

func (t BasicOrdinalDateTime) String() string

String implements fmt.Stringer

func (*BasicOrdinalDateTime) UnmarshalJSON

func (t *BasicOrdinalDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type BasicOrdinalDateTimeNoMillis

type BasicOrdinalDateTimeNoMillis time.Time

BasicOrdinalDateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_ordinal_date_time_no_millis"

func (BasicOrdinalDateTimeNoMillis) MarshalJSON

func (t BasicOrdinalDateTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (BasicOrdinalDateTimeNoMillis) String

String implements fmt.Stringer

func (*BasicOrdinalDateTimeNoMillis) UnmarshalJSON

func (t *BasicOrdinalDateTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type BasicTTime

type BasicTTime time.Time

BasicTTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_t_time"

func (BasicTTime) MarshalJSON

func (t BasicTTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (BasicTTime) String

func (t BasicTTime) String() string

String implements fmt.Stringer

func (*BasicTTime) UnmarshalJSON

func (t *BasicTTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type BasicTTimeNoMillis

type BasicTTimeNoMillis time.Time

BasicTTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_t_time_no_millis"

func (BasicTTimeNoMillis) MarshalJSON

func (t BasicTTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (BasicTTimeNoMillis) String

func (t BasicTTimeNoMillis) String() string

String implements fmt.Stringer

func (*BasicTTimeNoMillis) UnmarshalJSON

func (t *BasicTTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type BasicTime

type BasicTime time.Time

BasicTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_time"

func (BasicTime) MarshalJSON

func (t BasicTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (BasicTime) String

func (t BasicTime) String() string

String implements fmt.Stringer

func (*BasicTime) UnmarshalJSON

func (t *BasicTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type BasicTimeNoMillis

type BasicTimeNoMillis time.Time

BasicTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "basic_time_no_millis"

func (BasicTimeNoMillis) MarshalJSON

func (t BasicTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (BasicTimeNoMillis) String

func (t BasicTimeNoMillis) String() string

String implements fmt.Stringer

func (*BasicTimeNoMillis) UnmarshalJSON

func (t *BasicTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type Date

type Date time.Time

Date is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date"

func (Date) MarshalJSON

func (t Date) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (Date) String

func (t Date) String() string

String implements fmt.Stringer

func (*Date) UnmarshalJSON

func (t *Date) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DateHour

type DateHour time.Time

DateHour is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_hour"

func (DateHour) MarshalJSON

func (t DateHour) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DateHour) String

func (t DateHour) String() string

String implements fmt.Stringer

func (*DateHour) UnmarshalJSON

func (t *DateHour) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DateHourMinute

type DateHourMinute time.Time

DateHourMinute is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_hour_minute"

func (DateHourMinute) MarshalJSON

func (t DateHourMinute) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DateHourMinute) String

func (t DateHourMinute) String() string

String implements fmt.Stringer

func (*DateHourMinute) UnmarshalJSON

func (t *DateHourMinute) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DateHourMinuteSecond

type DateHourMinuteSecond time.Time

DateHourMinuteSecond is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_hour_minute_second"

func (DateHourMinuteSecond) MarshalJSON

func (t DateHourMinuteSecond) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DateHourMinuteSecond) String

func (t DateHourMinuteSecond) String() string

String implements fmt.Stringer

func (*DateHourMinuteSecond) UnmarshalJSON

func (t *DateHourMinuteSecond) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DateHourMinuteSecondFraction

type DateHourMinuteSecondFraction time.Time

DateHourMinuteSecondFraction is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_hour_minute_second_fraction"

func (DateHourMinuteSecondFraction) MarshalJSON

func (t DateHourMinuteSecondFraction) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DateHourMinuteSecondFraction) String

String implements fmt.Stringer

func (*DateHourMinuteSecondFraction) UnmarshalJSON

func (t *DateHourMinuteSecondFraction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DateHourMinuteSecondMillis

type DateHourMinuteSecondMillis time.Time

DateHourMinuteSecondMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_hour_minute_second_millis"

func (DateHourMinuteSecondMillis) MarshalJSON

func (t DateHourMinuteSecondMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DateHourMinuteSecondMillis) String

String implements fmt.Stringer

func (*DateHourMinuteSecondMillis) UnmarshalJSON

func (t *DateHourMinuteSecondMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DateOptionalTime

type DateOptionalTime time.Time

DateOptionalTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_optional_time"

func (DateOptionalTime) MarshalJSON

func (t DateOptionalTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DateOptionalTime) String

func (t DateOptionalTime) String() string

String implements fmt.Stringer

func (*DateOptionalTime) UnmarshalJSON

func (t *DateOptionalTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DateTime

type DateTime time.Time

DateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_time"

func (DateTime) MarshalJSON

func (t DateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DateTime) String

func (t DateTime) String() string

String implements fmt.Stringer

func (*DateTime) UnmarshalJSON

func (t *DateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DateTimeNoMillis

type DateTimeNoMillis time.Time

DateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "date_time_no_millis"

func (DateTimeNoMillis) MarshalJSON

func (t DateTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DateTimeNoMillis) String

func (t DateTimeNoMillis) String() string

String implements fmt.Stringer

func (*DateTimeNoMillis) UnmarshalJSON

func (t *DateTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type Default

type Default time.Time

Default is time.Time based type which can be directly marshalled to / unmarshaled from Elasticsearch default date format, "strict_date_optional_time||epoch_millis".

func (Default) MarshalJSON

func (t Default) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (Default) String

func (t Default) String() string

String implements fmt.Stringer

func (*Default) UnmarshalJSON

func (t *Default) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DefaultNano

type DefaultNano time.Time

DefaultNano is time.Time based type which can be directly marshalled to / unmarshaled from Elasticsearch default date format, "strict_date_optional_time_nanos||epoch_millis". This is nano sec precise counterpart of Default.

func (DefaultNano) MarshalJSON

func (t DefaultNano) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DefaultNano) String

func (t DefaultNano) String() string

String implements fmt.Stringer

func (*DefaultNano) UnmarshalJSON

func (t *DefaultNano) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DefaultNum

type DefaultNum time.Time

DefaultNum is time.Time based type which can be directly marshalled to / unmarshaled from Elasticsearch default date format, "strict_date_optional_time||epoch_millis". This is almost identical to Default but it marshals into JSON number.

func (DefaultNum) MarshalJSON

func (t DefaultNum) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DefaultNum) String

func (t DefaultNum) String() string

String implements fmt.Stringer

func (*DefaultNum) UnmarshalJSON

func (t *DefaultNum) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type DefaultNumNano

type DefaultNumNano time.Time

DefaultNumNano is time.Time based type which can be directly marshalled to / unmarshaled from Elasticsearch default date format, "strict_date_optional_time_nanos||epoch_millis". This is nano sec precise counterpart of DefaultNum.

func (DefaultNumNano) MarshalJSON

func (t DefaultNumNano) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (DefaultNumNano) String

func (t DefaultNumNano) String() string

String implements fmt.Stringer

func (*DefaultNumNano) UnmarshalJSON

func (t *DefaultNumNano) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type EpochMillis

type EpochMillis time.Time

EpochMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in date format, "epoch_millis".

func (EpochMillis) MarshalJSON

func (t EpochMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (EpochMillis) String

func (t EpochMillis) String() string

String implements fmt.Stringer

func (*EpochMillis) UnmarshalJSON

func (t *EpochMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type EpochSecond

type EpochSecond time.Time

EpochSecond is time.Time based type which can be directly marshalled to / unmarshaled from the built-in date format, "epoch_second".

func (EpochSecond) MarshalJSON

func (t EpochSecond) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (EpochSecond) String

func (t EpochSecond) String() string

String implements fmt.Stringer

func (*EpochSecond) UnmarshalJSON

func (t *EpochSecond) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type Hour

type Hour time.Time

Hour is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "hour"

func (Hour) MarshalJSON

func (t Hour) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (Hour) String

func (t Hour) String() string

String implements fmt.Stringer

func (*Hour) UnmarshalJSON

func (t *Hour) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type HourMinute

type HourMinute time.Time

HourMinute is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "hour_minute"

func (HourMinute) MarshalJSON

func (t HourMinute) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (HourMinute) String

func (t HourMinute) String() string

String implements fmt.Stringer

func (*HourMinute) UnmarshalJSON

func (t *HourMinute) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type HourMinuteSecond

type HourMinuteSecond time.Time

HourMinuteSecond is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "hour_minute_second"

func (HourMinuteSecond) MarshalJSON

func (t HourMinuteSecond) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (HourMinuteSecond) String

func (t HourMinuteSecond) String() string

String implements fmt.Stringer

func (*HourMinuteSecond) UnmarshalJSON

func (t *HourMinuteSecond) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type HourMinuteSecondFraction

type HourMinuteSecondFraction time.Time

HourMinuteSecondFraction is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "hour_minute_second_fraction"

func (HourMinuteSecondFraction) MarshalJSON

func (t HourMinuteSecondFraction) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (HourMinuteSecondFraction) String

func (t HourMinuteSecondFraction) String() string

String implements fmt.Stringer

func (*HourMinuteSecondFraction) UnmarshalJSON

func (t *HourMinuteSecondFraction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type HourMinuteSecondMillis

type HourMinuteSecondMillis time.Time

HourMinuteSecondMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "hour_minute_second_millis"

func (HourMinuteSecondMillis) MarshalJSON

func (t HourMinuteSecondMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (HourMinuteSecondMillis) String

func (t HourMinuteSecondMillis) String() string

String implements fmt.Stringer

func (*HourMinuteSecondMillis) UnmarshalJSON

func (t *HourMinuteSecondMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type OrdinalDate

type OrdinalDate time.Time

OrdinalDate is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "ordinal_date"

func (OrdinalDate) MarshalJSON

func (t OrdinalDate) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (OrdinalDate) String

func (t OrdinalDate) String() string

String implements fmt.Stringer

func (*OrdinalDate) UnmarshalJSON

func (t *OrdinalDate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type OrdinalDateTime

type OrdinalDateTime time.Time

OrdinalDateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "ordinal_date_time"

func (OrdinalDateTime) MarshalJSON

func (t OrdinalDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (OrdinalDateTime) String

func (t OrdinalDateTime) String() string

String implements fmt.Stringer

func (*OrdinalDateTime) UnmarshalJSON

func (t *OrdinalDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type OrdinalDateTimeNoMillis

type OrdinalDateTimeNoMillis time.Time

OrdinalDateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "ordinal_date_time_no_millis"

func (OrdinalDateTimeNoMillis) MarshalJSON

func (t OrdinalDateTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (OrdinalDateTimeNoMillis) String

func (t OrdinalDateTimeNoMillis) String() string

String implements fmt.Stringer

func (*OrdinalDateTimeNoMillis) UnmarshalJSON

func (t *OrdinalDateTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictDate

type StrictDate time.Time

StrictDate is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date"

func (StrictDate) MarshalJSON

func (t StrictDate) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictDate) String

func (t StrictDate) String() string

String implements fmt.Stringer

func (*StrictDate) UnmarshalJSON

func (t *StrictDate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictDateHour

type StrictDateHour time.Time

StrictDateHour is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_hour"

func (StrictDateHour) MarshalJSON

func (t StrictDateHour) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictDateHour) String

func (t StrictDateHour) String() string

String implements fmt.Stringer

func (*StrictDateHour) UnmarshalJSON

func (t *StrictDateHour) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictDateHourMinute

type StrictDateHourMinute time.Time

StrictDateHourMinute is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_hour_minute"

func (StrictDateHourMinute) MarshalJSON

func (t StrictDateHourMinute) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictDateHourMinute) String

func (t StrictDateHourMinute) String() string

String implements fmt.Stringer

func (*StrictDateHourMinute) UnmarshalJSON

func (t *StrictDateHourMinute) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictDateHourMinuteSecond

type StrictDateHourMinuteSecond time.Time

StrictDateHourMinuteSecond is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_hour_minute_second"

func (StrictDateHourMinuteSecond) MarshalJSON

func (t StrictDateHourMinuteSecond) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictDateHourMinuteSecond) String

String implements fmt.Stringer

func (*StrictDateHourMinuteSecond) UnmarshalJSON

func (t *StrictDateHourMinuteSecond) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictDateHourMinuteSecondFraction

type StrictDateHourMinuteSecondFraction time.Time

StrictDateHourMinuteSecondFraction is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_hour_minute_second_fraction"

func (StrictDateHourMinuteSecondFraction) MarshalJSON

func (t StrictDateHourMinuteSecondFraction) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictDateHourMinuteSecondFraction) String

String implements fmt.Stringer

func (*StrictDateHourMinuteSecondFraction) UnmarshalJSON

func (t *StrictDateHourMinuteSecondFraction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictDateHourMinuteSecondMillis

type StrictDateHourMinuteSecondMillis time.Time

StrictDateHourMinuteSecondMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_hour_minute_second_millis"

func (StrictDateHourMinuteSecondMillis) MarshalJSON

func (t StrictDateHourMinuteSecondMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictDateHourMinuteSecondMillis) String

String implements fmt.Stringer

func (*StrictDateHourMinuteSecondMillis) UnmarshalJSON

func (t *StrictDateHourMinuteSecondMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictDateOptionalTime

type StrictDateOptionalTime time.Time

StrictDateOptionalTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_optional_time"

func (StrictDateOptionalTime) MarshalJSON

func (t StrictDateOptionalTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictDateOptionalTime) String

func (t StrictDateOptionalTime) String() string

String implements fmt.Stringer

func (*StrictDateOptionalTime) UnmarshalJSON

func (t *StrictDateOptionalTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictDateOptionalTimeNanos

type StrictDateOptionalTimeNanos time.Time

StrictDateOptionalTimeNanos is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_optional_time_nanos"

func (StrictDateOptionalTimeNanos) MarshalJSON

func (t StrictDateOptionalTimeNanos) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictDateOptionalTimeNanos) String

String implements fmt.Stringer

func (*StrictDateOptionalTimeNanos) UnmarshalJSON

func (t *StrictDateOptionalTimeNanos) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictDateTime

type StrictDateTime time.Time

StrictDateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_time"

func (StrictDateTime) MarshalJSON

func (t StrictDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictDateTime) String

func (t StrictDateTime) String() string

String implements fmt.Stringer

func (*StrictDateTime) UnmarshalJSON

func (t *StrictDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictDateTimeNoMillis

type StrictDateTimeNoMillis time.Time

StrictDateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_date_time_no_millis"

func (StrictDateTimeNoMillis) MarshalJSON

func (t StrictDateTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictDateTimeNoMillis) String

func (t StrictDateTimeNoMillis) String() string

String implements fmt.Stringer

func (*StrictDateTimeNoMillis) UnmarshalJSON

func (t *StrictDateTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictHour

type StrictHour time.Time

StrictHour is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_hour"

func (StrictHour) MarshalJSON

func (t StrictHour) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictHour) String

func (t StrictHour) String() string

String implements fmt.Stringer

func (*StrictHour) UnmarshalJSON

func (t *StrictHour) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictHourMinute

type StrictHourMinute time.Time

StrictHourMinute is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_hour_minute"

func (StrictHourMinute) MarshalJSON

func (t StrictHourMinute) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictHourMinute) String

func (t StrictHourMinute) String() string

String implements fmt.Stringer

func (*StrictHourMinute) UnmarshalJSON

func (t *StrictHourMinute) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictHourMinuteSecond

type StrictHourMinuteSecond time.Time

StrictHourMinuteSecond is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_hour_minute_second"

func (StrictHourMinuteSecond) MarshalJSON

func (t StrictHourMinuteSecond) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictHourMinuteSecond) String

func (t StrictHourMinuteSecond) String() string

String implements fmt.Stringer

func (*StrictHourMinuteSecond) UnmarshalJSON

func (t *StrictHourMinuteSecond) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictHourMinuteSecondFraction

type StrictHourMinuteSecondFraction time.Time

StrictHourMinuteSecondFraction is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_hour_minute_second_fraction"

func (StrictHourMinuteSecondFraction) MarshalJSON

func (t StrictHourMinuteSecondFraction) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictHourMinuteSecondFraction) String

String implements fmt.Stringer

func (*StrictHourMinuteSecondFraction) UnmarshalJSON

func (t *StrictHourMinuteSecondFraction) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictHourMinuteSecondMillis

type StrictHourMinuteSecondMillis time.Time

StrictHourMinuteSecondMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_hour_minute_second_millis"

func (StrictHourMinuteSecondMillis) MarshalJSON

func (t StrictHourMinuteSecondMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictHourMinuteSecondMillis) String

String implements fmt.Stringer

func (*StrictHourMinuteSecondMillis) UnmarshalJSON

func (t *StrictHourMinuteSecondMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictOrdinalDate

type StrictOrdinalDate time.Time

StrictOrdinalDate is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_ordinal_date"

func (StrictOrdinalDate) MarshalJSON

func (t StrictOrdinalDate) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictOrdinalDate) String

func (t StrictOrdinalDate) String() string

String implements fmt.Stringer

func (*StrictOrdinalDate) UnmarshalJSON

func (t *StrictOrdinalDate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictOrdinalDateTime

type StrictOrdinalDateTime time.Time

StrictOrdinalDateTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_ordinal_date_time"

func (StrictOrdinalDateTime) MarshalJSON

func (t StrictOrdinalDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictOrdinalDateTime) String

func (t StrictOrdinalDateTime) String() string

String implements fmt.Stringer

func (*StrictOrdinalDateTime) UnmarshalJSON

func (t *StrictOrdinalDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictOrdinalDateTimeNoMillis

type StrictOrdinalDateTimeNoMillis time.Time

StrictOrdinalDateTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_ordinal_date_time_no_millis"

func (StrictOrdinalDateTimeNoMillis) MarshalJSON

func (t StrictOrdinalDateTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictOrdinalDateTimeNoMillis) String

String implements fmt.Stringer

func (*StrictOrdinalDateTimeNoMillis) UnmarshalJSON

func (t *StrictOrdinalDateTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictTTime

type StrictTTime time.Time

StrictTTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_t_time"

func (StrictTTime) MarshalJSON

func (t StrictTTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictTTime) String

func (t StrictTTime) String() string

String implements fmt.Stringer

func (*StrictTTime) UnmarshalJSON

func (t *StrictTTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictTTimeNoMillis

type StrictTTimeNoMillis time.Time

StrictTTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_t_time_no_millis"

func (StrictTTimeNoMillis) MarshalJSON

func (t StrictTTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictTTimeNoMillis) String

func (t StrictTTimeNoMillis) String() string

String implements fmt.Stringer

func (*StrictTTimeNoMillis) UnmarshalJSON

func (t *StrictTTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictTime

type StrictTime time.Time

StrictTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_time"

func (StrictTime) MarshalJSON

func (t StrictTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictTime) String

func (t StrictTime) String() string

String implements fmt.Stringer

func (*StrictTime) UnmarshalJSON

func (t *StrictTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictTimeNoMillis

type StrictTimeNoMillis time.Time

StrictTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_time_no_millis"

func (StrictTimeNoMillis) MarshalJSON

func (t StrictTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictTimeNoMillis) String

func (t StrictTimeNoMillis) String() string

String implements fmt.Stringer

func (*StrictTimeNoMillis) UnmarshalJSON

func (t *StrictTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictYear

type StrictYear time.Time

StrictYear is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_year"

func (StrictYear) MarshalJSON

func (t StrictYear) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictYear) String

func (t StrictYear) String() string

String implements fmt.Stringer

func (*StrictYear) UnmarshalJSON

func (t *StrictYear) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictYearMonth

type StrictYearMonth time.Time

StrictYearMonth is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_year_month"

func (StrictYearMonth) MarshalJSON

func (t StrictYearMonth) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictYearMonth) String

func (t StrictYearMonth) String() string

String implements fmt.Stringer

func (*StrictYearMonth) UnmarshalJSON

func (t *StrictYearMonth) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type StrictYearMonthDay

type StrictYearMonthDay time.Time

StrictYearMonthDay is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "strict_year_month_day"

func (StrictYearMonthDay) MarshalJSON

func (t StrictYearMonthDay) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (StrictYearMonthDay) String

func (t StrictYearMonthDay) String() string

String implements fmt.Stringer

func (*StrictYearMonthDay) UnmarshalJSON

func (t *StrictYearMonthDay) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type TTime

type TTime time.Time

TTime is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "t_time"

func (TTime) MarshalJSON

func (t TTime) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (TTime) String

func (t TTime) String() string

String implements fmt.Stringer

func (*TTime) UnmarshalJSON

func (t *TTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type TTimeNoMillis

type TTimeNoMillis time.Time

TTimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "t_time_no_millis"

func (TTimeNoMillis) MarshalJSON

func (t TTimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (TTimeNoMillis) String

func (t TTimeNoMillis) String() string

String implements fmt.Stringer

func (*TTimeNoMillis) UnmarshalJSON

func (t *TTimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type Time

type Time time.Time

Time is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "time"

func (Time) MarshalJSON

func (t Time) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (Time) String

func (t Time) String() string

String implements fmt.Stringer

func (*Time) UnmarshalJSON

func (t *Time) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type TimeNoMillis

type TimeNoMillis time.Time

TimeNoMillis is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "time_no_millis"

func (TimeNoMillis) MarshalJSON

func (t TimeNoMillis) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (TimeNoMillis) String

func (t TimeNoMillis) String() string

String implements fmt.Stringer

func (*TimeNoMillis) UnmarshalJSON

func (t *TimeNoMillis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type Year

type Year time.Time

Year is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "year"

func (Year) MarshalJSON

func (t Year) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (Year) String

func (t Year) String() string

String implements fmt.Stringer

func (*Year) UnmarshalJSON

func (t *Year) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type YearMonth

type YearMonth time.Time

YearMonth is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "year_month"

func (YearMonth) MarshalJSON

func (t YearMonth) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (YearMonth) String

func (t YearMonth) String() string

String implements fmt.Stringer

func (*YearMonth) UnmarshalJSON

func (t *YearMonth) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

type YearMonthDay

type YearMonthDay time.Time

YearMonthDay is time.Time based type which can be directly marshalled to / unmarshaled from the built-in format, "year_month_day"

func (YearMonthDay) MarshalJSON

func (t YearMonthDay) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (YearMonthDay) String

func (t YearMonthDay) String() string

String implements fmt.Stringer

func (*YearMonthDay) UnmarshalJSON

func (t *YearMonthDay) UnmarshalJSON(data []byte) error

UnmarshalJSON implements json.Unmarshaler

Jump to

Keyboard shortcuts

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