summary refs log tree commit diff stats
path: root/cache/getdir_darwin.go
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-25 00:13:51 +0530
committerAndinus <andinus@nand.sh>2020-03-25 00:13:51 +0530
commit3ee3715ae7777dd6c1804974e2e293406fd1fe54 (patch)
treef035e76ff9ce48d03299381d03906eaff76140dc /cache/getdir_darwin.go
parent28e35c0b0b996e17bd94a5b9e78fda90086ba85e (diff)
downloadcetus-3ee3715ae7777dd6c1804974e2e293406fd1fe54.tar.gz
Add apod support & fix errors
Diffstat (limited to 'cache/getdir_darwin.go')
-rw-r--r--cache/getdir_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cache/getdir_darwin.go b/cache/getdir_darwin.go
index fc47e7e..733e94e 100644
--- a/cache/getdir_darwin.go
+++ b/cache/getdir_darwin.go
@@ -10,13 +10,13 @@ import (
 // GetDir returns cetus cache directory. Default cache directory on
 // macOS is $HOME/Library/Caches.
 func GetDir() string {
-	cacheDir = fmt.Sprintf("%s/%s/%s",
+	cacheDir := fmt.Sprintf("%s/%s/%s",
 		os.Getenv("HOME"),
 		"Library",
 		"Caches")
 
 	// Cetus cache directory is cacheDir/cetus
-	cetusCacheDir = fmt.Sprintf("%s/%s", cacheDir,
+	cetusCacheDir := fmt.Sprintf("%s/%s", cacheDir,
 		"cetus")
 
 	return cetusCacheDir