Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions internal/sql/named/param.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down
Loading