aboutsummaryrefslogtreecommitdiff
path: root/session.go
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-15 17:35:05 -0300
committerKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-08-15 17:35:05 -0300
commit7b287bf328f1cb3e8a2532829073c575cac82de8 (patch)
tree148c33f9acf96842f648b8aff226cdb9b0b5d157 /session.go
parent6e7eaf774209bf6dfa55a2ba5bc424eeb2f5ea08 (diff)
default value argument for GetConfigValue
Diffstat (limited to 'session.go')
-rw-r--r--session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.go b/session.go
index bb6175d..99ab1c2 100644
--- a/session.go
+++ b/session.go
@@ -12,7 +12,7 @@ import (
var cache redis.Conn
func InitCache() {
- conn, err := redis.DialURL(GetConfigValue("redis"))
+ conn, err := redis.DialURL(GetConfigValue("redis", "redis://localhost"))
if err != nil {
panic(err)
}