mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 17:32:25 +00:00
fix sqlite import message
This commit is contained in:
@@ -45,8 +45,8 @@ func getDBMutex(dbPath string) *sync.RWMutex {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func loadDBMod(llog *slog.Logger) func(*lua.LState) int {
|
func loadDBMod(llog *slog.Logger) func(*lua.LState) int {
|
||||||
llog.Debug("import module db-sqlite")
|
|
||||||
return func(L *lua.LState) int {
|
return func(L *lua.LState) int {
|
||||||
|
llog.Debug("import module db-sqlite")
|
||||||
dbMod := L.NewTable()
|
dbMod := L.NewTable()
|
||||||
|
|
||||||
L.SetField(dbMod, "connect", L.NewFunction(func(L *lua.LState) int {
|
L.SetField(dbMod, "connect", L.NewFunction(func(L *lua.LState) int {
|
||||||
|
|||||||
Reference in New Issue
Block a user