From 24c53259f8814110863f406de86e24af709d4ef0 Mon Sep 17 00:00:00 2001 From: Nazar Vovk Date: Mon, 28 Nov 2022 01:35:23 +0200 Subject: [PATCH] Fix typo --- rows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rows.go b/rows.go index 409885e0..ffe739b0 100644 --- a/rows.go +++ b/rows.go @@ -555,7 +555,7 @@ func RowToStructByName[T any](row CollectableRow) (T, error) { return value, err } -// RowToAddrOfStructByPos returns the address of a T scanned from row. T must be a struct. T must have the same number +// RowToAddrOfStructByName returns the address of a T scanned from row. T must be a struct. T must have the same number // of named public fields as row has fields. The row and T fields will by matched by name. The match is // case-insensitive. The database column name can be overridden with a "db" struct tag. If the "db" struct tag is "-" // then the field will be ignored.