From 3a0fcd17d45720dabc1a76480ef1b726ccb786c9 Mon Sep 17 00:00:00 2001 From: socialsister Date: Fri, 26 Apr 2024 14:40:54 +0800 Subject: [PATCH] chore: fix function name in comment --- sqlx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx.go b/sqlx.go index 8259a4fe..13d49eb3 100644 --- a/sqlx.go +++ b/sqlx.go @@ -1017,7 +1017,7 @@ func baseType(t reflect.Type, expected reflect.Kind) (reflect.Type, error) { return t, nil } -// fieldsByName fills a values interface with fields from the passed value based +// fieldsByTraversal fills a values interface with fields from the passed value based // on the traversals in int. If ptrs is true, return addresses instead of values. // We write this instead of using FieldsByName to save allocations and map lookups // when iterating over many rows. Empty traversals will get an interface pointer.