Documentation ¶
Index ¶
- type CreateUserParams
- type DBTX
- type GrpcstudyUser
- type ListUsersParams
- type Queries
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (sql.Result, error)
- func (q *Queries) GetUserById(ctx context.Context, id uint32) (GrpcstudyUser, error)
- func (q *Queries) GetUserByMobile(ctx context.Context, mobile string) (GrpcstudyUser, error)
- func (q *Queries) GetUserByUsername(ctx context.Context, username string) (GrpcstudyUser, error)
- func (q *Queries) ListUsers(ctx context.Context, arg ListUsersParams) ([]GrpcstudyUser, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserParams ¶
type GrpcstudyUser ¶
type ListUsersParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateUser ¶
func (*Queries) GetUserById ¶
func (*Queries) GetUserByMobile ¶
func (*Queries) GetUserByUsername ¶
func (*Queries) ListUsers ¶
func (q *Queries) ListUsers(ctx context.Context, arg ListUsersParams) ([]GrpcstudyUser, error)
Click to show internal directories.
Click to hide internal directories.