diff --git a/cache.go b/cache.go index e52667d..ba94afe 100644 --- a/cache.go +++ b/cache.go @@ -47,6 +47,7 @@ func (c *cache) Get(u string, k int) (string, error) { return uKey, nil } +// IsFile check if string is a file func (c *cache) IsFile(path string) bool { f, err := os.Stat(path) if err != nil {