initial setup, messing around with sqlc
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.30.0
|
||||
|
||||
package database
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/jackc/pgx/v5/pgtype"
|
||||
)
|
||||
|
||||
type Querier interface {
|
||||
// users.sql
|
||||
GetUsernameByID(ctx context.Context, id pgtype.UUID) (string, error)
|
||||
checkUserExistsByEmail(ctx context.Context, userMail string) (pgtype.UUID, error)
|
||||
}
|
||||
|
||||
var _ Querier = (*Queries)(nil)
|
||||
Reference in New Issue
Block a user