First release of open core
This commit is contained in:
17
pkg/datastore/sqlite.go
Normal file
17
pkg/datastore/sqlite.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package datastore
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"epigas.gitea.cloud/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}
|
||||
}
|
||||
Reference in New Issue
Block a user