Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirUpLevel ¶
DirUpLevel returns dir name of upper `level`
func GetCacheDir ¶
func GetCacheDir() string
GetCacheDir returns goat cache dir. If env GOAT_CACHE_DIR exist, use its value. Otherwise return /tmp/goat
func GetCronFilePath ¶
GetCronFilePath returns the cron file path
func IsDirExist ¶
IsDirExist returns true if a dir `pathname` exist, returns false otherwise
func IsFileExist ¶
IsFileExist returns true if a file `filename` exist, returns false otherwise
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.