Documentation ¶
Index ¶
- type CreateRevisionParams
- type CreateUserParams
- type DBTX
- type GetUserReviseItemsByTimeParams
- type ListUserReviseItemsParams
- type ListUserReviseItemsRow
- type MarkReviseItemDeletedParams
- type Queries
- func (q *Queries) CreateRevision(ctx context.Context, arg CreateRevisionParams) error
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) error
- func (q *Queries) DeleteReviseItem(ctx context.Context, id string) error
- func (q *Queries) DeleteReviseItemRevisions(ctx context.Context, reviseItemID string) error
- func (q *Queries) DeleteRevision(ctx context.Context, id string) error
- func (q *Queries) GetReviseItem(ctx context.Context, id string) (ReviseItem, error)
- func (q *Queries) GetRevision(ctx context.Context, id string) (Revision, error)
- func (q *Queries) GetRevisionItemRevisions(ctx context.Context, reviseItemID string) ([]Revision, error)
- func (q *Queries) GetUserByChatID(ctx context.Context, chatID int64) (User, error)
- func (q *Queries) GetUserByID(ctx context.Context, id string) (User, error)
- func (q *Queries) GetUserReviseItems(ctx context.Context, userID string) ([]ReviseItem, error)
- func (q *Queries) GetUserReviseItemsByTime(ctx context.Context, arg GetUserReviseItemsByTimeParams) ([]ReviseItem, error)
- func (q *Queries) GetUsersByReminderTime(ctx context.Context, reminderTime string) ([]User, error)
- func (q *Queries) ListUserReviseItems(ctx context.Context, arg ListUserReviseItemsParams) ([]ListUserReviseItemsRow, error)
- func (q *Queries) MarkReviseItemDeleted(ctx context.Context, arg MarkReviseItemDeletedParams) error
- func (q *Queries) SaveReviseItem(ctx context.Context, arg SaveReviseItemParams) error
- func (q *Queries) UpdateReviseItem(ctx context.Context, arg UpdateReviseItemParams) error
- func (q *Queries) UpdateUser(ctx context.Context, arg UpdateUserParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type ReviseItem
- type Revision
- type SaveReviseItemParams
- type UpdateReviseItemParams
- type UpdateUserParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRevisionParams ¶
type CreateUserParams ¶
type ListUserReviseItemsRow ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateRevision ¶
func (q *Queries) CreateRevision(ctx context.Context, arg CreateRevisionParams) error
func (*Queries) CreateUser ¶
func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) error
func (*Queries) DeleteReviseItem ¶
func (*Queries) DeleteReviseItemRevisions ¶
func (*Queries) DeleteRevision ¶
func (*Queries) GetReviseItem ¶
func (*Queries) GetRevision ¶
func (*Queries) GetRevisionItemRevisions ¶
func (*Queries) GetUserByChatID ¶
func (*Queries) GetUserByID ¶
func (*Queries) GetUserReviseItems ¶
func (*Queries) GetUserReviseItemsByTime ¶
func (q *Queries) GetUserReviseItemsByTime(ctx context.Context, arg GetUserReviseItemsByTimeParams) ([]ReviseItem, error)
func (*Queries) GetUsersByReminderTime ¶
func (*Queries) ListUserReviseItems ¶
func (q *Queries) ListUserReviseItems(ctx context.Context, arg ListUserReviseItemsParams) ([]ListUserReviseItemsRow, error)
func (*Queries) MarkReviseItemDeleted ¶
func (q *Queries) MarkReviseItemDeleted(ctx context.Context, arg MarkReviseItemDeletedParams) error
func (*Queries) SaveReviseItem ¶
func (q *Queries) SaveReviseItem(ctx context.Context, arg SaveReviseItemParams) error
func (*Queries) UpdateReviseItem ¶
func (q *Queries) UpdateReviseItem(ctx context.Context, arg UpdateReviseItemParams) error
func (*Queries) UpdateUser ¶
func (q *Queries) UpdateUser(ctx context.Context, arg UpdateUserParams) error
type ReviseItem ¶
type SaveReviseItemParams ¶
type UpdateReviseItemParams ¶
type UpdateUserParams ¶
Click to show internal directories.
Click to hide internal directories.