aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.go2
-rw-r--r--main.go2
2 files changed, 2 insertions, 2 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 == "" {
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)