Documentation
¶
Index ¶
- type CreateNotebookParams
- type CreateSessionParams
- type CreateUserParams
- type DBTX
- type DeleteNotebookParams
- type GetNotebookParams
- type GetNotebookTitlesByTopicParams
- type GetNotebookTitlesByTopicRow
- type ListNotebooksParams
- type ListTopicsParams
- type Notebook
- type Querier
- type Queries
- func (q *Queries) CreateNotebook(ctx context.Context, arg CreateNotebookParams) (Notebook, error)
- func (q *Queries) CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) DeleteNotebook(ctx context.Context, arg DeleteNotebookParams) (Notebook, error)
- func (q *Queries) GetNotebook(ctx context.Context, arg GetNotebookParams) (Notebook, error)
- func (q *Queries) GetNotebookTitlesByTopic(ctx context.Context, arg GetNotebookTitlesByTopicParams) ([]GetNotebookTitlesByTopicRow, error)
- func (q *Queries) GetSession(ctx context.Context, id uuid.UUID) (Session, error)
- func (q *Queries) GetUserByEmail(ctx context.Context, email string) (User, error)
- func (q *Queries) GetUserById(ctx context.Context, id uuid.UUID) (User, error)
- func (q *Queries) ListNotebooks(ctx context.Context, arg ListNotebooksParams) ([]Notebook, error)
- func (q *Queries) ListTopics(ctx context.Context, arg ListTopicsParams) ([]string, error)
- func (q *Queries) SearchNotebooks(ctx context.Context, arg SearchNotebooksParams) ([]Notebook, error)
- func (q *Queries) UpdateNotebook(ctx context.Context, arg UpdateNotebookParams) (Notebook, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type SQLStorage
- type SearchNotebooksParams
- type Session
- type Storage
- type UpdateNotebookParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateNotebookParams ¶
type CreateSessionParams ¶
type CreateUserParams ¶
type DeleteNotebookParams ¶
type GetNotebookParams ¶
type ListNotebooksParams ¶
type ListTopicsParams ¶
type Querier ¶
type Querier interface { CreateNotebook(ctx context.Context, arg CreateNotebookParams) (Notebook, error) CreateSession(ctx context.Context, arg CreateSessionParams) (Session, error) CreateUser(ctx context.Context, arg CreateUserParams) (User, error) DeleteNotebook(ctx context.Context, arg DeleteNotebookParams) (Notebook, error) GetNotebook(ctx context.Context, arg GetNotebookParams) (Notebook, error) GetNotebookTitlesByTopic(ctx context.Context, arg GetNotebookTitlesByTopicParams) ([]GetNotebookTitlesByTopicRow, error) GetSession(ctx context.Context, id uuid.UUID) (Session, error) GetUserByEmail(ctx context.Context, email string) (User, error) GetUserById(ctx context.Context, id uuid.UUID) (User, error) ListNotebooks(ctx context.Context, arg ListNotebooksParams) ([]Notebook, error) ListTopics(ctx context.Context, arg ListTopicsParams) ([]string, error) SearchNotebooks(ctx context.Context, arg SearchNotebooksParams) ([]Notebook, error) UpdateNotebook(ctx context.Context, arg UpdateNotebookParams) (Notebook, error) }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateNotebook ¶
func (*Queries) CreateSession ¶
func (*Queries) CreateUser ¶
func (*Queries) DeleteNotebook ¶
func (*Queries) GetNotebook ¶
func (*Queries) GetNotebookTitlesByTopic ¶
func (q *Queries) GetNotebookTitlesByTopic(ctx context.Context, arg GetNotebookTitlesByTopicParams) ([]GetNotebookTitlesByTopicRow, error)
func (*Queries) GetSession ¶
func (*Queries) GetUserByEmail ¶
func (*Queries) GetUserById ¶
func (*Queries) ListNotebooks ¶
func (*Queries) ListTopics ¶
func (*Queries) SearchNotebooks ¶
func (*Queries) UpdateNotebook ¶
type SQLStorage ¶
type SQLStorage struct { *Queries // contains filtered or unexported fields }
type SearchNotebooksParams ¶
type UpdateNotebookParams ¶
Click to show internal directories.
Click to hide internal directories.