28 lines
934 B
Go
28 lines
934 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.30.0
|
|
|
|
package db
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Querier interface {
|
|
CreateGame(ctx context.Context, arg CreateGameParams) (Game, error)
|
|
CreatePlatform(ctx context.Context, name string) (Platform, error)
|
|
CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
|
|
DeleteGame(ctx context.Context, id int64) error
|
|
DeletePlatform(ctx context.Context, id int64) error
|
|
DeleteUser(ctx context.Context, id int64) error
|
|
GetGame(ctx context.Context, id int64) (Game, error)
|
|
GetUser(ctx context.Context, id int64) (User, error)
|
|
ListGames(ctx context.Context) ([]Game, error)
|
|
ListPlatforms(ctx context.Context) ([]Platform, error)
|
|
ListUsers(ctx context.Context) ([]User, error)
|
|
UpdateGame(ctx context.Context, arg UpdateGameParams) (Game, error)
|
|
UpdatePlatform(ctx context.Context, arg UpdatePlatformParams) (Platform, error)
|
|
}
|
|
|
|
var _ Querier = (*Queries)(nil)
|