From 2becb927295f9f8b642614b5e2ce608da14b9f54 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 3 Jun 2017 19:28:05 +0200 Subject: Make `MaybeWriteConfig()` a private function I figured it would be a good idea to make this function and `loadConfig()` consistent. Since `loadConfig()` is private, make this one private also. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 5eae47f..00b663f 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ var config Config func main() { var err error - err = MaybeWriteConfig() + err = maybeWriteConfig() if err != nil { fmt.Println("Could not write config file") fmt.Println(err) -- cgit v1.2.3