mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-21 02:22:34 +01:00
19 lines
380 B
Go
19 lines
380 B
Go
|
package stdlib
|
||
|
|
||
|
import (
|
||
|
"github.com/d5/tengo/v2"
|
||
|
)
|
||
|
|
||
|
// BuiltinModules are builtin type standard library modules.
|
||
|
var BuiltinModules = map[string]map[string]tengo.Object{
|
||
|
"math": mathModule,
|
||
|
"os": osModule,
|
||
|
"text": textModule,
|
||
|
"times": timesModule,
|
||
|
"rand": randModule,
|
||
|
"fmt": fmtModule,
|
||
|
"json": jsonModule,
|
||
|
"base64": base64Module,
|
||
|
"hex": hexModule,
|
||
|
}
|