Documentation ¶
Index ¶
- type SQLCTaskRepository
- func (r *SQLCTaskRepository) CreateTask(ctx context.Context, arg *entity.Task) (string, error)
- func (r *SQLCTaskRepository) DeleteTask(ctx context.Context, id string) error
- func (r *SQLCTaskRepository) FindTaskByID(ctx context.Context, id string) (*entity.Task, error)
- func (r *SQLCTaskRepository) FindTasksByUserID(ctx context.Context, userID string) ([]*entity.Task, error)
- func (r *SQLCTaskRepository) UpdateTask(ctx context.Context, arg *entity.Task) error
- type SQLCUserRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLCTaskRepository ¶
タスク永続化のSQLC実装
func NewSQLCTaskRepository ¶
func NewSQLCTaskRepository(qry db.Querier) *SQLCTaskRepository
func (*SQLCTaskRepository) CreateTask ¶
func (*SQLCTaskRepository) DeleteTask ¶
func (r *SQLCTaskRepository) DeleteTask(ctx context.Context, id string) error
func (*SQLCTaskRepository) FindTaskByID ¶
func (*SQLCTaskRepository) FindTasksByUserID ¶
func (*SQLCTaskRepository) UpdateTask ¶
type SQLCUserRepository ¶
ユーザー永続化のSQLC実装
func NewSQLCUserRepository ¶
func NewSQLCUserRepository(qry db.Querier) *SQLCUserRepository
func (*SQLCUserRepository) FindUserByEmail ¶
func (*SQLCUserRepository) FindUserByID ¶
Click to show internal directories.
Click to hide internal directories.