feat: add pre-commit hooks & refactor code to pass linting
This commit is contained in:
@ -19,4 +19,3 @@ DELETE FROM task_group WHERE task_group_id = $1;
|
||||
|
||||
-- name: UpdateTaskGroupLocation :one
|
||||
UPDATE task_group SET position = $2 WHERE task_group_id = $1 RETURNING *;
|
||||
|
||||
|
@ -4,6 +4,7 @@ import (
|
||||
"github.com/jmoiron/sqlx"
|
||||
)
|
||||
|
||||
// Repository contains methods for interacting with a database storage
|
||||
type Repository struct {
|
||||
*Queries
|
||||
db *sqlx.DB
|
||||
|
Reference in New Issue
Block a user