Fix store codegen template
This commit is contained in:
parent
2b87ef2577
commit
188b7f3b44
@ -8,6 +8,7 @@ import (
|
||||
{{- range $path, $alias := .imports }}
|
||||
{{ $alias }} {{ printf "%q" $path }}
|
||||
{{- end }}
|
||||
"github.com/cortezaproject/corteza-server/pkg/dal"
|
||||
"github.com/cortezaproject/corteza-server/pkg/locale"
|
||||
"golang.org/x/text/language"
|
||||
)
|
||||
|
||||
6
store/interfaces.gen.go
generated
6
store/interfaces.gen.go
generated
@ -34,12 +34,12 @@ type (
|
||||
// and it's highly unlikely we'll support different/multiple logging "backend"
|
||||
SetLogger(*zap.Logger)
|
||||
|
||||
// Tx is a transaction handler
|
||||
Tx(context.Context, func(context.Context, Storer) error) error
|
||||
|
||||
// Returns underlying store as DAL connection
|
||||
ToDalConn() dal.Connection
|
||||
|
||||
// Tx is a transaction handler
|
||||
Tx(context.Context, func(context.Context, Storer) error) error
|
||||
|
||||
// Upgrade store's schema to the latest version
|
||||
Upgrade(context.Context) error
|
||||
Actionlogs
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user