Documentation ¶
Index ¶
- Constants
- func Decrement(start string, end string, fn func(string)) error
- func Increment(start string, end string, fn func(string)) error
- type Duration
- func (d *Duration) Decrement(hour time.Duration)
- func (d *Duration) GreaterThanDate(start string, end string) bool
- func (d *Duration) Increment(hour time.Duration)
- func (d *Duration) LessThanDate(start string, end string) bool
- func (d *Duration) Parse(date string) (err error)
- func (d *Duration) ToDate() string
- func (d *Duration) ValidDate(date string) bool
Constants ¶
View Source
const ( IntervalbyHours time.Duration = 24 DateFormat string = "2006-01-02" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Duration ¶
func (*Duration) GreaterThanDate ¶
Click to show internal directories.
Click to hide internal directories.