[go] refactoring
This commit is contained in:
parent
44477a6dbd
commit
c069de3955
4 changed files with 25 additions and 10 deletions
|
@ -9,11 +9,6 @@ import (
|
|||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
||||
type DB struct {
|
||||
ctx context.Context
|
||||
db *sql.DB
|
||||
}
|
||||
|
||||
//go:embed sql/*.sql
|
||||
var schemaFiles embed.FS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue