You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed, although GetFloat64 would work because redis stores the go's int as float64, it was an easy fix, on the GetInt we added a check for float64 as well (alongside with int64 and string we already have there).
Upgrade with: go get -u github.com/kataras/iris, automatic updater will not work because I'm waiting some days more for pushing the new release. Thank you @jaggerwang , have a nice day!
Problem
Very strange problem! I can set string value into session (using redis db) and can get it out, but not working with int value.
Set("id", "10005") => GetString("id") OK
Set("id", "10005") => GetInt("id") OK
Set("id", 10005) => GetString("id") Fail
Set("id", 10005) => GetInt("id") Fail
Env
Go: go version go1.10.2 darwin/amd64
Iris: 10.6.5:https://github.com/kataras/iris/blob/master/HISTORY.md#mo-21-may-2018--v1065
The text was updated successfully, but these errors were encountered: