From 9e87cb7c17bc834588ffe96d01658c8aa402cde9 Mon Sep 17 00:00:00 2001 From: Fenny <25108519+Fenny@users.noreply.github.com> Date: Sun, 6 Dec 2020 16:39:32 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=20update=20msg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/gotiny/decEngine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/gotiny/decEngine.go b/internal/gotiny/decEngine.go index ba9ea8f2..f08e7b85 100644 --- a/internal/gotiny/decEngine.go +++ b/internal/gotiny/decEngine.go @@ -180,7 +180,7 @@ func buildDecEngine(rt reflect.Type, engPtr *decEng) { et, has := name2type[name] if !has { //panic("unknown typ:" + name) - fmt.Println("[session] Use the `RegisterType` option to decode this value.") + fmt.Println("[session] Register this type first with the `RegisterType` method.") } v := reflect.NewAt(rt, p).Elem() var ev reflect.Value