mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Move over to Go embed directive
This commit is contained in:
parent
cddba799f8
commit
470e2d3ecf
18 changed files with 148 additions and 25205 deletions
2
core/env/runtime.go
vendored
2
core/env/runtime.go
vendored
|
@ -15,6 +15,7 @@ package env
|
|||
import (
|
||||
"context"
|
||||
"database/sql"
|
||||
"embed"
|
||||
|
||||
"github.com/documize/community/domain"
|
||||
"github.com/jmoiron/sqlx"
|
||||
|
@ -42,6 +43,7 @@ type Runtime struct {
|
|||
StoreProvider StoreProvider
|
||||
Log Logger
|
||||
Product domain.Product
|
||||
Assets embed.FS
|
||||
}
|
||||
|
||||
// StartTx begins database transaction with given transaction isolation level.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue