timerange

package
v0.0.0-...-63c5301 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseDate

func ParseDate(str string) (time.Time, error)

Types

type TimeRange

type TimeRange struct {
	From time.Time
	To   time.Time
}

func ParseRange

func ParseRange(str string) (*TimeRange, error)

func (TimeRange) String

func (tr TimeRange) String() string

Jump to

Keyboard shortcuts

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