quick TODO

This commit is contained in:
brent s 2021-03-31 15:18:42 -04:00
parent c1fc07de50
commit 558cf384ea
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

8
paths/TODO Normal file
View File

@ -0,0 +1,8 @@
https://golangcode.com/check-if-a-file-exists/

E.G.
func fileExists(filename string) bool {
info, err := os.Stat(filename)
if os.IsNotExist(err) {
return false
}