taskcafe/internal/db/querier.go
Jordan Knott 64093e19f6 redesign
2022-05-06 16:44:31 -05:00

23 lines
755 B
Go

// Code generated by sqlc. DO NOT EDIT.
package db
import (
"context"
"github.com/google/uuid"
)
type Querier interface {
CreateAccessToken(ctx context.Context, arg CreateAccessTokenParams) (AccessToken, error)
CreateUserAccount(ctx context.Context, arg CreateUserAccountParams) (UserAccount, error)
DeleteAccessToken(ctx context.Context, token string) error
GetAccessToken(ctx context.Context, token string) (AccessToken, error)
GetUserAccountByID(ctx context.Context, userID uuid.UUID) (UserAccount, error)
GetUserAccountByUsername(ctx context.Context, username string) (UserAccount, error)
GetUserAccounts(ctx context.Context) ([]UserAccount, error)
HasAnyUserAccount(ctx context.Context) (bool, error)
}
var _ Querier = (*Queries)(nil)