Doc fixes.

This commit is contained in:
Nuno Cruces
2024-06-07 12:10:03 +01:00
parent 7386a52b93
commit 35a3bfe2f9
2 changed files with 4 additions and 2 deletions

View File

@@ -4,7 +4,8 @@ import "github.com/ncruces/go-sqlite3/internal/util"
// Pointer returns a pointer to a value that can be used as an argument to
// [database/sql.DB.Exec] and similar methods.
// Pointer should NOT be used with [BindPointer] or [ResultPointer].
// Pointer should NOT be used with [Stmt.BindPointer],
// [Value.Pointer], or [Context.ResultPointer].
//
// https://sqlite.org/bindptr.html
func Pointer[T any](value T) any {