diff options
author | Teddy Wing | 2017-06-03 19:28:05 +0200 |
---|---|---|
committer | Teddy Wing | 2017-06-03 20:53:14 +0200 |
commit | 2becb927295f9f8b642614b5e2ce608da14b9f54 (patch) | |
tree | 53215a202586999ca2ea495034bd78eb378f913d /config.go | |
parent | 26b206b94c95904fd85b2a3e2c63d87c817afc32 (diff) | |
download | timetasker-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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 == "" { |