From 8486d1c11f8caec5754e097029090bee970ffd11 Mon Sep 17 00:00:00 2001 From: Anish Pentyala Date: Mon, 30 Nov 2026 08:42:41 -0800 Subject: [PATCH] docs: correct function names in two doc comments --- internal/sql/named/param.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/sql/named/param.go b/internal/sql/named/param.go index 42f9b855a3..a8532c00a9 100644 --- a/internal/sql/named/param.go +++ b/internal/sql/named/param.go @@ -82,7 +82,7 @@ func (p Param) is(n nullability) bool { return (p.nullability & n) == n } -// NonNull determines whether this param should be "not null" in its current state +// NotNull determines whether this param should be "not null" in its current state func (p Param) NotNull() bool { const null = false const notNull = true @@ -108,7 +108,7 @@ func (p Param) NotNull() bool { return null } -// IsSlice returns whether this param is a sqlc.slice() param. +// IsSqlcSlice returns whether this param is a sqlc.slice() param. func (p Param) IsSqlcSlice() bool { return p.isSqlcSlice }