aboutsummaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
authorTeddy Wing2017-06-03 19:28:05 +0200
committerTeddy Wing2017-06-03 20:53:14 +0200
commit2becb927295f9f8b642614b5e2ce608da14b9f54 (patch)
tree53215a202586999ca2ea495034bd78eb378f913d /config.go
parent26b206b94c95904fd85b2a3e2c63d87c817afc32 (diff)
downloadtimetasker-2becb927295f9f8b642614b5e2ce608da14b9f54.tar.bz2
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.
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 1 insertions, 1 deletions
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 == "" {