From 696c92f5878e887b583ad2cb20e70cd345d737c8 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Mon, 10 Jul 2023 11:54:14 +0800 Subject: [PATCH] fix function name in comment Signed-off-by: cui fliter --- sqlx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx.go b/sqlx.go index f7b28768..4f4ba489 100644 --- a/sqlx.go +++ b/sqlx.go @@ -1014,7 +1014,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.