nothing crazy here, add the 'Transcoder' type explicitly to the sessions#DefaultTranscoder, relative to https://github.com/kataras/iris/issues/1033

Former-commit-id: 3a907d20eaf2be4b0ee21aa2be3fcc2558b7fb4e
This commit is contained in:
Gerasimos (Makis) Maropoulos 2018-06-27 13:30:28 +03:00
parent 16a37dbfac
commit 0297afdc6b

View File

@ -20,7 +20,7 @@ type (
// DefaultTranscoder is the default transcoder across databases, it's the JSON by default.
// Change it if you want a different serialization/deserialization inside your session databases (when `UseDatabase` is used).
var DefaultTranscoder = defaultTranscoder{}
var DefaultTranscoder Transcoder = defaultTranscoder{}
type defaultTranscoder struct{}