quick TODO
This commit is contained in:
parent
c1fc07de50
commit
558cf384ea
8
paths/TODO
Normal file
8
paths/TODO
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user