mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 10:41:03 +01:00
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:
parent
16a37dbfac
commit
0297afdc6b
|
@ -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{}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user