Files
gotes/internal/store/sqlite/sqlite.go
2026-03-17 22:36:48 +00:00

26 lines
402 B
Go

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")
}