add sqlc and sqlite

This commit is contained in:
m
2026-07-12 00:02:27 +02:00
parent b6e38e930c
commit a2b3f75321
11 changed files with 182 additions and 4 deletions
+21
View File
@@ -0,0 +1,21 @@
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.31.1
// source: placeholder.sql
package db
import (
"context"
)
const getHealth = `-- name: GetHealth :one
SELECT 1 AS ok
`
func (q *Queries) GetHealth(ctx context.Context) (int64, error) {
row := q.db.QueryRowContext(ctx, getHealth)
var ok int64
err := row.Scan(&ok)
return ok, err
}