From 8e297769b250d75f26e1cc40a8acbb52810fabe8 Mon Sep 17 00:00:00 2001 From: dudaodong Date: Mon, 17 Apr 2023 11:06:03 +0800 Subject: [PATCH] fix: fix example comment of MapTo function --- maputil/typemap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maputil/typemap.go b/maputil/typemap.go index ab3c731..fb8a709 100644 --- a/maputil/typemap.go +++ b/maputil/typemap.go @@ -52,7 +52,7 @@ var _ = func() struct{} { } var dist Target - if err := typemap.MapTo(v,&dist); err != nil { + if err := maputil.MapTo(v,&dist); err != nil { log.Println(err) return }