MCPcopy Create free account

hub / github.com/Shopify/goluago / functions

Functions125 in github.com/Shopify/goluago

↓ 11 callersFunctiontestVarargs
(t *testing.T, l *lua.State, index int, expected []interface{})
util/varargs_test.go:119
↓ 7 callersFunctionDeepPush
DeepPush will put any basic Go type on the lua stack. If the value contains a map or a slice, it will recursively push those values as tables on the L
util/deep_push.go:30
↓ 7 callersFunctionPullTable
(l *lua.State, idx int)
util/deep_pull.go:42
↓ 6 callersFunctionMustPullVarargs
(l *lua.State, startIndex int)
util/varargs.go:43
↓ 4 callersFunctionforwardOnType
(l *lua.State, val interface{})
util/deep_push.go:35
↓ 4 callersFunctiongetVarArgs
(l *lua.State, from int)
pkg/fmt/fmt.go:64
↓ 4 callersFunctiontestRandomMap
(t *testing.T, size int)
util/deep_pull_test.go:24
↓ 3 callersFunctionPullVarargs
(l *lua.State, startIndex int)
util/varargs.go:5
↓ 3 callersFunctioncheck
(l *lua.State, err error)
pkg/encoding/json/json.go:25
↓ 2 callersFunctionOpen
(l *lua.State)
util/deep_pull.go:10
↓ 2 callersFunctionPullStringTable
(l *lua.State, idx int)
util/deep_pull.go:14
↓ 2 callersFunctioncheckMaps
(t *testing.T, want, got map[string]string)
util/deep_pull_test.go:38
↓ 2 callersFunctionencode
(l *lua.State, h func() hash.Hash)
pkg/crypto/hmac/hmac.go:34
↓ 2 callersFunctionpFamily
(f func(a ...interface{}) (int, error))
pkg/fmt/fmt.go:26
↓ 2 callersFunctionparseTime
(l *lua.State, format, value string)
pkg/time/time.go:113
↓ 2 callersFunctionpullTableRec
(l *lua.State, idx int)
util/deep_pull.go:50
↓ 2 callersFunctionpushURL
(l *lua.State, u *url.URL)
pkg/net/url/url.go:37
↓ 2 callersFunctionrandomString
(size int)
util/deep_pull_test.go:70
↓ 2 callersFunctionrunLuaTest
(t *testing.T, requireCallback func(l *lua.State), loadCallback func(l *lua.State) error)
pkg/testing/testing.go:22
↓ 2 callersFunctionsFamily
(f func(a ...interface{}) string)
pkg/fmt/fmt.go:38
↓ 2 callersFunctiontoGoValue
(l *lua.State, idx int)
util/deep_pull.go:133
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/strings/strings.go:9
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/encoding/base64/base64.go:8
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/encoding/json/json.go:11
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/encoding/hex/hex.go:8
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/crypto/aes/aes.go:12
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/crypto/md5/md5.go:10
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/crypto/sha256/sha256.go:8
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/crypto/hmac/hmac.go:12
↓ 1 callersFunctionOpen
Open exposes the regexp functions to Lua code in the `goluago/regexp` namespace.
pkg/regexp/regexp.go:11
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/uuid/uuid.go:12
↓ 1 callersFunctionOpen
Open makes part of the Go os env functions available to Lua code executing in the given lua.State, provided that it requires it: local url = require("
pkg/env/env.go:11
↓ 1 callersFunctionOpen
Open makes part of the Go net/url package available to Lua code executing in the given lua.State, provided that it requires it: local url = require("g
pkg/net/url/url.go:11
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/time/time.go:11
↓ 1 callersFunctionOpen
(l *lua.State)
pkg/fmt/fmt.go:8
↓ 1 callersFunctionPKCS5Padding
(ciphertext []byte, blockSize int, after int)
pkg/crypto/aes/aes.go:75
↓ 1 callersFunctionPKCS5UnPadding
(src []byte)
pkg/crypto/aes/aes.go:81
↓ 1 callersFunctionRunLuaTests
(t *testing.T, libraryCallback func(l *lua.State), filename string)
tst/lua_test_runner.go:12
↓ 1 callersFunctionerror_
(t *testing.T)
pkg/testing/testing.go:60
↓ 1 callersFunctionerrorf
(t *testing.T)
pkg/testing/testing.go:68
↓ 1 callersFunctionfatal
(t *testing.T)
pkg/testing/testing.go:77
↓ 1 callersFunctionfatalf
(t *testing.T)
pkg/testing/testing.go:85
↓ 1 callersFunctionforwardOnReflect
(l *lua.State, val interface{})
util/deep_push.go:84
↓ 1 callersFunctionisArray
(l *lua.State, idx int)
util/deep_pull.go:96
↓ 1 callersFunctionisEqual
(t *testing.T)
tst/lua_test_runner.go:49
↓ 1 callersFunctionisFalse
(t *testing.T)
tst/lua_test_runner.go:36
↓ 1 callersFunctionisNotEqual
(t *testing.T)
tst/lua_test_runner.go:63
↓ 1 callersFunctionisTrue
(t *testing.T)
tst/lua_test_runner.go:23
↓ 1 callersFunctionlog
(t *testing.T)
pkg/testing/testing.go:94
↓ 1 callersFunctionlogf
(t *testing.T)
pkg/testing/testing.go:102
↓ 1 callersFunctionluaArray
(l *lua.State)
util/deep_pull.go:88
↓ 1 callersFunctionopenTestingLibrary
(l *lua.State, t *testing.T)
pkg/testing/testing.go:44
↓ 1 callersFunctionpullArrayRec
(l *lua.State, idx int)
util/deep_pull.go:109
↓ 1 callersFunctionrandomMap
(size int)
util/deep_pull_test.go:54
↓ 1 callersFunctionrecurseOnFuncSlice
the hack of using a func(int)interface{} makes it that it is valid for any type of slice
util/deep_push.go:110
FunctionDumpFrame
DumpFrame writes the currently visible frames of the Lua stack in a human-readable way.
util/debug.go:11
FunctionOpen
(l *lua.State)
goluago.go:22
FunctionRunLuaTestFile
(t *testing.T, requireCallback func(l *lua.State), luaSourceFileName string)
pkg/testing/testing.go:16
FunctionRunLuaTestString
(t *testing.T, requireCallback func(l *lua.State), luaSource string)
pkg/testing/testing.go:10
FunctionTestAllPackages
(t *testing.T)
tst/lua_test.go:29
FunctionTestPullStringTableFromLua
(t *testing.T)
util/deep_pull_test.go:141
FunctionTestPullString_Random0
From Go to lua to Go
util/deep_pull_test.go:19
FunctionTestPullString_Random10
(t *testing.T)
util/deep_pull_test.go:20
FunctionTestPullString_Random100
(t *testing.T)
util/deep_pull_test.go:21
FunctionTestPullString_Random1000
(t *testing.T)
util/deep_pull_test.go:22
FunctionTestPullTableFailsGracefullyOnCyclicStructures
(t *testing.T)
util/deep_pull_test.go:278
FunctionTestPullTableFailsGracefullyOnUnconvertableValues
(t *testing.T)
util/deep_pull_test.go:292
FunctionTestPullTableFailsWhenNotATable
(t *testing.T)
util/deep_pull_test.go:267
FunctionTestPullTableFromLua
(t *testing.T)
util/deep_pull_test.go:200
FunctionTestPullTableWithArraysFromLua
(t *testing.T)
util/deep_pull_test.go:227
FunctionTestVarargsFrom1
(t *testing.T)
util/varargs_test.go:11
FunctionTestVarargsFrom2
(t *testing.T)
util/varargs_test.go:20
FunctionTestVarargsFromBeyondEnd
(t *testing.T)
util/varargs_test.go:38
FunctionTestVarargsFromEnd
(t *testing.T)
util/varargs_test.go:29
FunctionTestVarargsWithBoolean
(t *testing.T)
util/varargs_test.go:54
FunctionTestVarargsWithFunction
(t *testing.T)
util/varargs_test.go:88
FunctionTestVarargsWithNil
(t *testing.T)
util/varargs_test.go:47
FunctionTestVarargsWithNumber
(t *testing.T)
util/varargs_test.go:62
FunctionTestVarargsWithString
(t *testing.T)
util/varargs_test.go:71
FunctionTestVarargsWithTable
(t *testing.T)
util/varargs_test.go:79
FunctionTestVarargsWithThread
(t *testing.T)
util/varargs_test.go:112
FunctionTestVarargsWithUserData
(t *testing.T)
util/varargs_test.go:104
Functionadd
(l *lua.State)
pkg/time/time.go:64
Functioncompile
(l *lua.State)
pkg/regexp/regexp.go:47
Functiondecode
(l *lua.State)
pkg/encoding/base64/base64.go:30
Functiondecode
(l *lua.State)
pkg/encoding/hex/hex.go:30
FunctiondecryptCBC
(l *lua.State)
pkg/crypto/aes/aes.go:53
Functiondigest
(l *lua.State)
pkg/crypto/sha256/sha256.go:21
Functionencode
(l *lua.State)
pkg/encoding/base64/base64.go:24
Functionencode
(l *lua.State)
pkg/encoding/hex/hex.go:22
FunctionencryptCBC
(l *lua.State)
pkg/crypto/aes/aes.go:26
Functionescape
(l *lua.State)
pkg/net/url/url.go:140
Functionformat
(l *lua.State)
pkg/time/time.go:31
FunctionformatISO
(l *lua.State)
pkg/time/time.go:48
Functiongetenv
(l *lua.State)
pkg/env/env.go:25
Functionmarshal
(l *lua.State)
pkg/encoding/json/json.go:32
Functionmatch
(l *lua.State)
pkg/regexp/regexp.go:26
Functionnow
(l *lua.State)
pkg/time/time.go:88
Functionparse
(l *lua.State)
pkg/net/url/url.go:26
Functionparse
(l *lua.State)
pkg/time/time.go:100
next →1–100 of 125, ranked by callers