Documentation ¶
Index ¶
- type AddCategoriesToTaskParams
- type Auth
- type Category
- type CreateAuthTokenParams
- type CreateTaskParams
- type CreateUserParams
- type DBTX
- type DeleteAuthTokenParams
- type DeleteTaskParams
- type DeleteUserParams
- type GetTaskParams
- type GetTasksByDueDateParams
- type GetTasksByPriorityParams
- type GetTasksByStatusParams
- type GetTasksLimitParams
- type GetUserParams
- type Queries
- func (q *Queries) AddCategoriesToTask(ctx context.Context, arg AddCategoriesToTaskParams) error
- func (q *Queries) CreateAuthToken(ctx context.Context, arg CreateAuthTokenParams) (Auth, error)
- func (q *Queries) CreateTask(ctx context.Context, arg CreateTaskParams) (Task, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) DeleteAuthToken(ctx context.Context, arg DeleteAuthTokenParams) error
- func (q *Queries) DeleteCategory(ctx context.Context, id string) error
- func (q *Queries) DeleteTask(ctx context.Context, arg DeleteTaskParams) error
- func (q *Queries) DeleteUser(ctx context.Context, arg DeleteUserParams) error
- func (q *Queries) GetAuthToken(ctx context.Context, token string) (Auth, error)
- func (q *Queries) GetCategories(ctx context.Context) ([]Category, error)
- func (q *Queries) GetPriorityForTask(ctx context.Context, id string) (TaskPriority, error)
- func (q *Queries) GetTask(ctx context.Context, arg GetTaskParams) (Task, error)
- func (q *Queries) GetTaskCategories(ctx context.Context, taskID string) ([]string, error)
- func (q *Queries) GetTaskPriorities(ctx context.Context) ([]TaskPriority, error)
- func (q *Queries) GetTasks(ctx context.Context, userID string) ([]Task, error)
- func (q *Queries) GetTasksByDueDate(ctx context.Context, arg GetTasksByDueDateParams) ([]Task, error)
- func (q *Queries) GetTasksByPriority(ctx context.Context, arg GetTasksByPriorityParams) ([]Task, error)
- func (q *Queries) GetTasksByStatus(ctx context.Context, arg GetTasksByStatusParams) ([]Task, error)
- func (q *Queries) GetTasksLimit(ctx context.Context, arg GetTasksLimitParams) ([]Task, error)
- func (q *Queries) GetUser(ctx context.Context, arg GetUserParams) (User, error)
- func (q *Queries) GetUsers(ctx context.Context) ([]User, error)
- func (q *Queries) RemoveCategoriesFromTask(ctx context.Context, arg RemoveCategoriesFromTaskParams) error
- func (q *Queries) SearchTasks(ctx context.Context, arg SearchTasksParams) ([]Task, error)
- func (q *Queries) UpdateTask(ctx context.Context, arg UpdateTaskParams) (Task, error)
- func (q *Queries) UpdateTaskTimestamp(ctx context.Context, id string) error
- func (q *Queries) UpdateUser(ctx context.Context, arg UpdateUserParams) (User, error)
- func (q *Queries) ValidateAuthToken(ctx context.Context, arg ValidateAuthTokenParams) (Auth, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type RemoveCategoriesFromTaskParams
- type SearchTasksParams
- type Task
- type TaskCategory
- type TaskPriority
- type UpdateTaskParams
- type UpdateUserParams
- type User
- type ValidateAuthTokenParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAuthTokenParams ¶
type CreateTaskParams ¶
type CreateUserParams ¶
type DeleteAuthTokenParams ¶
type DeleteTaskParams ¶
type DeleteUserParams ¶
type GetTaskParams ¶
type GetTasksByDueDateParams ¶
type GetTasksByPriorityParams ¶
type GetTasksByPriorityParams struct { UserID string PriorityID sql.NullString }
type GetTasksByStatusParams ¶
type GetTasksLimitParams ¶
type GetUserParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AddCategoriesToTask ¶
func (q *Queries) AddCategoriesToTask(ctx context.Context, arg AddCategoriesToTaskParams) error
func (*Queries) CreateAuthToken ¶
func (*Queries) CreateTask ¶
func (*Queries) CreateUser ¶
func (*Queries) DeleteAuthToken ¶
func (q *Queries) DeleteAuthToken(ctx context.Context, arg DeleteAuthTokenParams) error
func (*Queries) DeleteCategory ¶
func (*Queries) DeleteTask ¶
func (q *Queries) DeleteTask(ctx context.Context, arg DeleteTaskParams) error
func (*Queries) DeleteUser ¶
func (q *Queries) DeleteUser(ctx context.Context, arg DeleteUserParams) error
func (*Queries) GetAuthToken ¶
func (*Queries) GetCategories ¶
func (*Queries) GetPriorityForTask ¶
func (*Queries) GetTaskCategories ¶
func (*Queries) GetTaskPriorities ¶
func (q *Queries) GetTaskPriorities(ctx context.Context) ([]TaskPriority, error)
func (*Queries) GetTasksByDueDate ¶
func (*Queries) GetTasksByPriority ¶
func (*Queries) GetTasksByStatus ¶
func (*Queries) GetTasksLimit ¶
func (*Queries) RemoveCategoriesFromTask ¶
func (q *Queries) RemoveCategoriesFromTask(ctx context.Context, arg RemoveCategoriesFromTaskParams) error
func (*Queries) SearchTasks ¶
func (*Queries) UpdateTask ¶
func (*Queries) UpdateTaskTimestamp ¶
func (*Queries) UpdateUser ¶
func (*Queries) ValidateAuthToken ¶
type SearchTasksParams ¶
type TaskCategory ¶
type TaskPriority ¶
type UpdateTaskParams ¶
type UpdateUserParams ¶
type ValidateAuthTokenParams ¶
Click to show internal directories.
Click to hide internal directories.