summaryrefslogtreecommitdiffhomepage
path: root/storage.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2019-10-10 15:38:30 -0600
committerMatthew Holt <[email protected]>2019-10-10 15:38:30 -0600
commit9c0bf311f93218e8f899cd3c6102868be18a4d1c (patch)
treede74b8a08c09b26aad05f065e2ba61f857ae7284 /storage.go
parent5300949e0def70411fde307afad4c15b6cc22dfd (diff)
downloadcaddy-9c0bf311f93218e8f899cd3c6102868be18a4d1c.tar.gz
caddy-9c0bf311f93218e8f899cd3c6102868be18a4d1c.zip
Miscellaneous cleanups / comments
Diffstat (limited to 'storage.go')
-rw-r--r--storage.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage.go b/storage.go
index b325b7bb0..670a47163 100644
--- a/storage.go
+++ b/storage.go
@@ -59,3 +59,6 @@ func dataDir() string {
}
return filepath.Join(baseDir, "caddy")
}
+
+// TODO: Consider using Go 1.13's os.UserConfigDir() (https://golang.org/pkg/os/#UserConfigDir)
+// if we are going to store the last-loaded config anywhere