From 7b287bf328f1cb3e8a2532829073c575cac82de8 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Sun, 15 Aug 2021 17:35:05 -0300 Subject: default value argument for GetConfigValue --- session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'session.go') 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) } -- cgit v1.2.3