mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-03 19:52:25 +00:00
- Modify .luarc.json to include global Lua scripts. - Update Makefile to include LDFLAGS for versioning. - Enhance node.go to implement version checking and update handling. - Refactor Lua global variables in _globals.lua and echo.lua to use new structures. - Remove deprecated http.lua and update config.yaml for TLS and update settings. - Introduce new update.go for version management and update checking. - Add tests for version comparison in update_test.go. - Improve error handling in various server methods.
17 lines
503 B
Lua
17 lines
503 B
Lua
---@diagnostic disable: duplicate-set-field
|
|
package.path = package.path .. ";/usr/lib64/lua/5.1/?.lua;/usr/local/share/lua/5.1/?.lua" .. ";./com/?.lua;"
|
|
package.cpath = package.cpath .. ";/usr/lib64/lua/5.1/?.so;/usr/local/lib/lua/5.1/?.so"
|
|
|
|
print = function() end
|
|
io.write = function(...) end
|
|
io.stdout = function() return nil end
|
|
io.stderr = function() return nil end
|
|
io.read = function(...) return nil end
|
|
|
|
---@type table<string, any>
|
|
Status = {
|
|
ok = "ok",
|
|
error = "error",
|
|
invalid = "invalid",
|
|
}
|