Added Testing for setting up sqlite db

This commit is contained in:
Micheal Wilkinson
2026-03-17 22:14:46 +00:00
parent 5c53e7e968
commit 412d237244
2 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
package sqlite
import (
"context"
"database/sql"
"fmt"
)
const sqlSet = `
PRAGMA journal_mode = WAL;
PRAGMA busy_timeout = 7000;
`
type SQLiteStore struct {
read *sql.DB
write *sql.DB
}
func NewSQLiteStore(ctx context.Context, dbPath string) (*SQLiteStore, error) {
return nil, fmt.Errorf("not implemented")
}
func (s *SQLiteStore) Close() error {
return fmt.Errorf("not implemented")
}