Updated sqlc setup for initial user creation.
This commit is contained in:
@@ -10,8 +10,9 @@ import (
|
||||
|
||||
type Querier interface {
|
||||
CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
|
||||
DeleteUser(ctx context.Context, id int64) error
|
||||
GetUser(ctx context.Context, id int64) (User, error)
|
||||
DeleteUser(ctx context.Context, arg DeleteUserParams) error
|
||||
GetUserByEmail(ctx context.Context, dollar_1 string) (User, error)
|
||||
GetUserById(ctx context.Context, id int64) (User, error)
|
||||
ListUsers(ctx context.Context) ([]User, error)
|
||||
UpdateUser(ctx context.Context, arg UpdateUserParams) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user