Documentation
¶
Index ¶
- Constants
- func EnsureDirOf(path string) error
- func ExpandUserPath(path string) string
- func FormatDate(t time.Time) string
- func FormatTime(t time.Time) string
- func IsDirEmpty(name string) (bool, error)
- func JsonDecodeBytes(bytes []byte) (interface{}, error)
- func JsonDecodeFile(path string) (interface{}, error)
- func JsonDecodeStr(str string) (interface{}, error)
- func JsonGet(url string, onReq func(req *http.Request)) (interface{}, *http.Response, error)
- func JsonToQueryString(json StringMap) string
- func NeedsRefresh(refresh_type int32, last_refreshed_at time.Time, now time.Time) bool
- func OpenBrowser(url string)
- func ParseDate(str string) time.Time
- func ParseTime(str string) time.Time
- func PriceString(value float64) string
- type StringMap
Constants ¶
View Source
const ( DATE_FORMAT = "2006-01-02" DATETIME_FORMAT = "2006-01-02 03-04-05" )
Variables ¶
This section is empty.
Functions ¶
func EnsureDirOf ¶
func ExpandUserPath ¶
func FormatDate ¶
func FormatTime ¶
func IsDirEmpty ¶
func JsonDecodeBytes ¶
func JsonDecodeFile ¶
func JsonDecodeStr ¶
func JsonToQueryString ¶
func NeedsRefresh ¶
func OpenBrowser ¶ added in v0.0.4
func OpenBrowser(url string)
*
- Opens the browser pointing to a given URL.
func PriceString ¶
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.