require¶
Load a sandbox Lua module cached per top-level script environment.
Signature¶
Contract and usage¶
Modules¶
local module = require("module_name")
local same = import("module_name")
local same_again = gos.import("module_name")
All three use the sandboxed module loader. Modules resolve only from approved script roots and are cached per top-level script environment.