mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 18:37:05 +00: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:
@@ -20,7 +20,7 @@ type (
|
|||||||
|
|
||||||
// DefaultTranscoder is the default transcoder across databases, it's the JSON by default.
|
// 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).
|
// 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{}
|
type defaultTranscoder struct{}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user