Documentation ¶
Index ¶
- type Communication
- type CreateComunParams
- type CreateUserParams
- type DBTX
- type Queries
- func (q *Queries) CreateComun(ctx context.Context, arg CreateComunParams) error
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) error
- func (q *Queries) DeleteUsers(ctx context.Context) error
- func (q *Queries) GetComunsById(ctx context.Context, id string) (Communication, error)
- func (q *Queries) GetComunsByUser(ctx context.Context, userID string) ([]Communication, error)
- func (q *Queries) GetUser(ctx context.Context, apiKey string) (User, error)
- func (q *Queries) GetUserByLogin(ctx context.Context, login string) (User, error)
- func (q *Queries) UpdateReply(ctx context.Context, arg UpdateReplyParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type UpdateReplyParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Communication ¶
type CreateComunParams ¶
type CreateUserParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateComun ¶
func (q *Queries) CreateComun(ctx context.Context, arg CreateComunParams) error
func (*Queries) CreateUser ¶
func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) error
func (*Queries) GetComunsById ¶
func (*Queries) GetComunsByUser ¶
func (*Queries) GetUserByLogin ¶
func (*Queries) UpdateReply ¶
func (q *Queries) UpdateReply(ctx context.Context, arg UpdateReplyParams) error
type UpdateReplyParams ¶
type UpdateReplyParams struct { UpdatedAt string Reply sql.NullString ID string }
Click to show internal directories.
Click to hide internal directories.