From 0297afdc6b7a603b3a0dccf9d2e8b01faef07d34 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Wed, 27 Jun 2018 13:30:28 +0300 Subject: [PATCH] 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 --- sessions/transcoding.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sessions/transcoding.go b/sessions/transcoding.go index 589471ea..613e2d46 100644 --- a/sessions/transcoding.go +++ b/sessions/transcoding.go @@ -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{}