mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-14 02:36:27 +00:00
Update to tengo v2 (#976)
This commit is contained in:
12
vendor/github.com/d5/tengo/v2/stdlib/hex.go
generated
vendored
Normal file
12
vendor/github.com/d5/tengo/v2/stdlib/hex.go
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
package stdlib
|
||||
|
||||
import (
|
||||
"encoding/hex"
|
||||
|
||||
"github.com/d5/tengo/v2"
|
||||
)
|
||||
|
||||
var hexModule = map[string]tengo.Object{
|
||||
"encode": &tengo.UserFunction{Value: FuncAYRS(hex.EncodeToString)},
|
||||
"decode": &tengo.UserFunction{Value: FuncASRYE(hex.DecodeString)},
|
||||
}
|
Reference in New Issue
Block a user