hiling_go/db/sqlc/querier.go

22 lines
681 B
Go
Raw Normal View History

2023-09-08 22:24:58 +07:00
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.20.0
package db
import (
"context"
)
type Querier interface {
2023-09-13 21:42:04 +07:00
CreateLocation(ctx context.Context, arg CreateLocationParams) error
2023-09-12 17:07:03 +07:00
CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
2023-09-14 13:49:03 +07:00
GetListLocations(ctx context.Context) ([]Location, error)
2023-09-14 22:51:01 +07:00
GetListRecentLocationsWithRatings(ctx context.Context, limit int32) ([]GetListRecentLocationsWithRatingsRow, error)
2023-09-13 21:42:04 +07:00
GetLocation(ctx context.Context, id int32) (Location, error)
2023-09-12 17:07:03 +07:00
UpdatePassword(ctx context.Context, arg UpdatePasswordParams) error
UpdateUser(ctx context.Context, arg UpdateUserParams) (User, error)
2023-09-08 22:24:58 +07:00
}
var _ Querier = (*Queries)(nil)