From 558cf384ea0540bff82abd2d0c4d2963d69762dc Mon Sep 17 00:00:00 2001 From: brent s Date: Wed, 31 Mar 2021 15:18:42 -0400 Subject: [PATCH] quick TODO --- paths/TODO | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 paths/TODO diff --git a/paths/TODO b/paths/TODO new file mode 100644 index 0000000..ae16fb1 --- /dev/null +++ b/paths/TODO @@ -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 + }