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. --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.go') diff --git a/config.go b/config.go index 0aa76f1..e2d2f94 100644 --- a/config.go +++ b/config.go @@ -38,7 +38,7 @@ work_type = # ADD WORK TYPE ID billable = true ` -func MaybeWriteConfig() error { +func maybeWriteConfig() error { path := xdg.FindConfig("timetasker/config.toml") if path == "" { -- cgit v1.2.3