5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-14 19:00:28 +00:00
matterbridge/vendor/github.com/d5/tengo/v2/stdlib/builtin_modules.go

19 lines
380 B
Go
Raw Normal View History

2020-01-09 20:52:19 +00:00
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,
}