Adding utils package

This commit is contained in:
Vishnu Kannan 2014-07-21 05:04:18 +00:00
parent 1edb798de5
commit abfcd4923a

10
utils/path.go Normal file
View File

@ -0,0 +1,10 @@
package utils
import "os"
func FileExists(file string) bool {
if _, err := os.Stat(file); err != nil {
return true
}
return false
}