diff options
author | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-08-15 17:35:05 -0300 |
---|---|---|
committer | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-08-15 17:35:05 -0300 |
commit | 7b287bf328f1cb3e8a2532829073c575cac82de8 (patch) | |
tree | 148c33f9acf96842f648b8aff226cdb9b0b5d157 /session.go | |
parent | 6e7eaf774209bf6dfa55a2ba5bc424eeb2f5ea08 (diff) |
default value argument for GetConfigValue
Diffstat (limited to 'session.go')
-rw-r--r-- | session.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |