📝 Add docstrings to feat/pgsql-driver

Docstrings generation was requested by @scottmckendry.

* https://github.com/tinyauthapp/tinyauth/pull/892#issuecomment-4524261246

The following files were modified:

* `internal/repository/postgres/db.go`
* `internal/repository/postgres/store.go`
This commit is contained in:
coderabbitai[bot]
2026-05-25 17:05:38 +00:00
committed by GitHub
parent 40540ce133
commit f5b9d83360
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -16,6 +16,8 @@ type DBTX interface {
QueryRowContext(context.Context, string, ...interface{}) *sql.Row
}
// New returns a *Queries configured to use the provided DBTX for executing database operations.
// The returned *Queries will use db as its database handle for all query method calls.
func New(db DBTX) *Queries {
return &Queries{db: db}
}