From a461e9d01a95089eca571d3a49642b01d9173c18 Mon Sep 17 00:00:00 2001 From: Panagiotis Koursaris Date: Thu, 10 Mar 2022 16:53:23 +0200 Subject: Fix typo --- common/hreflect/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/hreflect/helpers.go b/common/hreflect/helpers.go index 7f3ef7ac2..e1c01456d 100644 --- a/common/hreflect/helpers.go +++ b/common/hreflect/helpers.go @@ -128,7 +128,7 @@ type methods struct { var methodCache = &methods{cache: make(map[methodKey]int)} -// GetMethodByName is the samve as reflect.Value.MethodByName, but it caches the +// GetMethodByName is the same as reflect.Value.MethodByName, but it caches the // type lookup. func GetMethodByName(v reflect.Value, name string) reflect.Value { index := GetMethodIndexByName(v.Type(), name) -- cgit v1.2.3