Chore: SQL Store Split of datasource (#54262)

* refectory datasource

* fix linter
This commit is contained in:
ying-jeanne
2022-08-26 11:03:38 -04:00
committed by GitHub
parent ec3697584a
commit 6227528ea0
8 changed files with 920 additions and 55 deletions
+1
View File
@@ -14,4 +14,5 @@ type DB interface {
NewSession(ctx context.Context) *sqlstore.DBSession
GetDialect() migrator.Dialect
GetSqlxSession() *session.SessionDB
InTransaction(ctx context.Context, fn func(ctx context.Context) error) error
}