Documentation
¶
Index ¶
- Constants
- func CacheFileExists(filename string) bool
- func CacheFileName(url string) string
- func CacheFileUptoDate(filename string) bool
- func CacheFolderExists() bool
- func CreateCacheFolder() bool
- func FetchAwsomeRepo(repourl string) (string, error)
- func FetchAwsomeRootRepo() (string, error)
- func GetCacheFolderPath() string
- func GetCachePath(url string) string
- func GetPossibleReadmeFileURLs(repourl string) []string
- func IsOlderThanOneDay(t time.Time) bool
- func PadLeft(str, pad string, lenght int) string
- func SaveCache(filename string, text string) string
Constants ¶
View Source
const AWESOMECACHEFOLDER = ".awsomecache"
View Source
const AWESOMEREPOURL = "https://github.com/sindresorhus/awesome/"
View Source
const RAWGITHUBUSERCONTENT = "https://raw.githubusercontent.com"
Variables ¶
This section is empty.
Functions ¶
func CacheFileExists ¶
func CacheFileName ¶
func CacheFileUptoDate ¶
func CacheFolderExists ¶
func CacheFolderExists() bool
func CreateCacheFolder ¶
func CreateCacheFolder() bool
func FetchAwsomeRepo ¶
func FetchAwsomeRootRepo ¶
func GetCacheFolderPath ¶
func GetCacheFolderPath() string
func GetCachePath ¶
func IsOlderThanOneDay ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.