feat(backend): implement task creation and admin web

This commit is contained in:
QiuSW
2026-07-26 14:03:32 +08:00
parent 2b265c92fc
commit c5d3b215ff
58 changed files with 8773 additions and 83 deletions
@@ -0,0 +1,17 @@
package sqlite
import (
"database/sql"
"errors"
)
type Store struct {
db *sql.DB
}
func New(db *sql.DB) (*Store, error) {
if db == nil {
return nil, errors.New("SQLite database is required")
}
return &Store{db: db}, nil
}