Files
core/pkg/datastore/sqlite.go
T
quiet-professional dc0ae8eb96
Build and Release Core / Test and Build (push) Successful in 5m26s
updated module name
2026-04-29 11:04:14 -04:00

18 lines
267 B
Go

package datastore
import (
"database/sql"
"code.riskrancher.com/RiskRancher/core/pkg/domain"
)
type SQLiteStore struct {
DB *sql.DB
}
var _ domain.TicketStore = (*SQLiteStore)(nil)
func NewSQLiteStore(db *sql.DB) *SQLiteStore {
return &SQLiteStore{DB: db}
}