timez

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateRange

type DateRange TimeRange

func (*DateRange) MarshalJSON

func (d *DateRange) MarshalJSON() ([]byte, error)

func (*DateRange) ToTimeRange

func (d *DateRange) ToTimeRange() *TimeRange

func (*DateRange) UnmarshalJSON

func (d *DateRange) UnmarshalJSON(b []byte) error

type TimeRange

type TimeRange struct {
	Start *time.Time `json:"start"`
	End   *time.Time `json:"end"`
}

Jump to

Keyboard shortcuts

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