Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorPanagiotis Koursaris <panakourweb@gmail.com>2022-03-10 17:53:23 +0300
committerAnthony Fok <anthony.fok@canada.ca>2022-03-22 09:39:33 +0300
commita461e9d01a95089eca571d3a49642b01d9173c18 (patch)
treee4b448b9682cfd7a3c08df46056dfc1259f14f63 /common
parent48c98a8d24a0f5ceb17ce4977587f660d137a1a5 (diff)
Fix typo
Diffstat (limited to 'common')
-rw-r--r--common/hreflect/helpers.go2
1 files changed, 1 insertions, 1 deletions
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)