implement cli

This commit is contained in:
2025-01-23 06:33:29 -06:00
parent 1f10af0081
commit 3c0b3c04b7
9 changed files with 105 additions and 250 deletions

View File

@@ -10,6 +10,15 @@ import (
"database/sql"
)
const addSvg = `-- name: AddSvg :exec
INSERT INTO svg_icon (svg) VALUES (?)
`
func (q *Queries) AddSvg(ctx context.Context, svg string) error {
_, err := q.db.ExecContext(ctx, addSvg, svg)
return err
}
const createCustomer = `-- name: CreateCustomer :exec
INSERT INTO customer (
id