Documentation ¶
Index ¶
- type DBTX
- type Editor
- type GetEditorsParams
- type GetQuestionsParams
- type Hint
- type InsertEditorParams
- type InsertHintParams
- type InsertQuestionParams
- type Queries
- func (q *Queries) CountQuestionByTitleSlug(ctx context.Context, titleSlug string) (int64, error)
- func (q *Queries) GetEditors(ctx context.Context, arg GetEditorsParams) ([]Editor, error)
- func (q *Queries) GetHints(ctx context.Context, questionID string) ([]Hint, error)
- func (q *Queries) GetQuestions(ctx context.Context, arg GetQuestionsParams) ([]Question, error)
- func (q *Queries) InsertEditor(ctx context.Context, arg InsertEditorParams) error
- func (q *Queries) InsertHint(ctx context.Context, arg InsertHintParams) error
- func (q *Queries) InsertQuestion(ctx context.Context, arg InsertQuestionParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Question
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetEditorsParams ¶
type GetQuestionsParams ¶
type InsertEditorParams ¶
type InsertHintParams ¶
type InsertQuestionParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CountQuestionByTitleSlug ¶
func (*Queries) GetEditors ¶
func (*Queries) GetQuestions ¶
func (*Queries) InsertEditor ¶
func (q *Queries) InsertEditor(ctx context.Context, arg InsertEditorParams) error
func (*Queries) InsertHint ¶
func (q *Queries) InsertHint(ctx context.Context, arg InsertHintParams) error
func (*Queries) InsertQuestion ¶
func (q *Queries) InsertQuestion(ctx context.Context, arg InsertQuestionParams) error
Click to show internal directories.
Click to hide internal directories.