Files
agentic-coding-workflow/internal/audit/sqlc/audit.sql.go
T

22 lines
339 B
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.31.1
// source: audit.sql
package auditsqlc
import (
"context"
)
const ping = `-- name: Ping :one
SELECT 1::int AS ok
`
func (q *Queries) Ping(ctx context.Context) (int32, error) {
row := q.db.QueryRow(ctx, ping)
var ok int32
err := row.Scan(&ok)
return ok, err
}