Documentation ¶ Index ¶ Variables func GetFromTo(ft FromTo, now time.Time, defaultFrom, defaultTo uint32) (uint32, uint32, error) type FromTo Constants ¶ This section is empty. Variables ¶ View Source var ( TimeZone *time.Location ) Functions ¶ func GetFromTo ¶ func GetFromTo(ft FromTo, now time.Time, defaultFrom, defaultTo uint32) (uint32, uint32, error) Types ¶ type FromTo ¶ type FromTo struct { From string `json:"from" form:"from"` Until string `json:"until" form:"until"` To string `json:"to" form:"to"` // graphite uses 'until' but we allow to alternatively cause it's shorter Tz string `json:"tz" form:"tz"` } Source Files ¶ View all Source files tz.go Click to show internal directories. Click to hide internal directories.