Compare commits

...

2 Commits

Author SHA1 Message Date
22ff90ca56 add db/ to .gitignore 2025-07-30 12:06:50 +03:00
98d2443679 add some small changes 2025-07-30 12:00:21 +03:00
5 changed files with 4 additions and 4 deletions

3
.gitignore vendored
View File

@@ -3,7 +3,8 @@ bin/
cert/
tmp/
.meta/
db/
.vscode
Taskfile.yml
config.yaml

View File

@@ -1,4 +1,4 @@
function validate()
local function validate()
if not In.Params.msg or In.Params.msg == "" then
Out.Error = {
message = "there must be a msg parameter"

Binary file not shown.

View File

@@ -97,8 +97,6 @@ func (h *HandlerV1) HandleLUA(path string, req *rpc.RPCRequest) *rpc.RPCResponse
return 0
}))
registerDatabaseType(L)
L.SetGlobal("Log", logTable)
prep := filepath.Join(h.x.Config.Conf.ComDir, "_prepare.lua")

View File

@@ -2,6 +2,7 @@ package main
import (
"github.com/akyaiy/GoSally-mvp/cmd"
_ "modernc.org/sqlite"
)
func main() {