Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/goluago
/ functions
Functions
125 in github.com/Shopify/goluago
⨍
Functions
125
◇
Types & classes
0
↓ 11 callers
Function
testVarargs
(t *testing.T, l *lua.State, index int, expected []interface{})
util/varargs_test.go:119
↓ 7 callers
Function
DeepPush
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 callers
Function
PullTable
(l *lua.State, idx int)
util/deep_pull.go:42
↓ 6 callers
Function
MustPullVarargs
(l *lua.State, startIndex int)
util/varargs.go:43
↓ 4 callers
Function
forwardOnType
(l *lua.State, val interface{})
util/deep_push.go:35
↓ 4 callers
Function
getVarArgs
(l *lua.State, from int)
pkg/fmt/fmt.go:64
↓ 4 callers
Function
testRandomMap
(t *testing.T, size int)
util/deep_pull_test.go:24
↓ 3 callers
Function
PullVarargs
(l *lua.State, startIndex int)
util/varargs.go:5
↓ 3 callers
Function
check
(l *lua.State, err error)
pkg/encoding/json/json.go:25
↓ 2 callers
Function
Open
(l *lua.State)
util/deep_pull.go:10
↓ 2 callers
Function
PullStringTable
(l *lua.State, idx int)
util/deep_pull.go:14
↓ 2 callers
Function
checkMaps
(t *testing.T, want, got map[string]string)
util/deep_pull_test.go:38
↓ 2 callers
Function
encode
(l *lua.State, h func() hash.Hash)
pkg/crypto/hmac/hmac.go:34
↓ 2 callers
Function
pFamily
(f func(a ...interface{}) (int, error))
pkg/fmt/fmt.go:26
↓ 2 callers
Function
parseTime
(l *lua.State, format, value string)
pkg/time/time.go:113
↓ 2 callers
Function
pullTableRec
(l *lua.State, idx int)
util/deep_pull.go:50
↓ 2 callers
Function
pushURL
(l *lua.State, u *url.URL)
pkg/net/url/url.go:37
↓ 2 callers
Function
randomString
(size int)
util/deep_pull_test.go:70
↓ 2 callers
Function
runLuaTest
(t *testing.T, requireCallback func(l *lua.State), loadCallback func(l *lua.State) error)
pkg/testing/testing.go:22
↓ 2 callers
Function
sFamily
(f func(a ...interface{}) string)
pkg/fmt/fmt.go:38
↓ 2 callers
Function
toGoValue
(l *lua.State, idx int)
util/deep_pull.go:133
↓ 1 callers
Function
Open
(l *lua.State)
pkg/strings/strings.go:9
↓ 1 callers
Function
Open
(l *lua.State)
pkg/encoding/base64/base64.go:8
↓ 1 callers
Function
Open
(l *lua.State)
pkg/encoding/json/json.go:11
↓ 1 callers
Function
Open
(l *lua.State)
pkg/encoding/hex/hex.go:8
↓ 1 callers
Function
Open
(l *lua.State)
pkg/crypto/aes/aes.go:12
↓ 1 callers
Function
Open
(l *lua.State)
pkg/crypto/md5/md5.go:10
↓ 1 callers
Function
Open
(l *lua.State)
pkg/crypto/sha256/sha256.go:8
↓ 1 callers
Function
Open
(l *lua.State)
pkg/crypto/hmac/hmac.go:12
↓ 1 callers
Function
Open
Open exposes the regexp functions to Lua code in the `goluago/regexp` namespace.
pkg/regexp/regexp.go:11
↓ 1 callers
Function
Open
(l *lua.State)
pkg/uuid/uuid.go:12
↓ 1 callers
Function
Open
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 callers
Function
Open
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 callers
Function
Open
(l *lua.State)
pkg/time/time.go:11
↓ 1 callers
Function
Open
(l *lua.State)
pkg/fmt/fmt.go:8
↓ 1 callers
Function
PKCS5Padding
(ciphertext []byte, blockSize int, after int)
pkg/crypto/aes/aes.go:75
↓ 1 callers
Function
PKCS5UnPadding
(src []byte)
pkg/crypto/aes/aes.go:81
↓ 1 callers
Function
RunLuaTests
(t *testing.T, libraryCallback func(l *lua.State), filename string)
tst/lua_test_runner.go:12
↓ 1 callers
Function
error_
(t *testing.T)
pkg/testing/testing.go:60
↓ 1 callers
Function
errorf
(t *testing.T)
pkg/testing/testing.go:68
↓ 1 callers
Function
fatal
(t *testing.T)
pkg/testing/testing.go:77
↓ 1 callers
Function
fatalf
(t *testing.T)
pkg/testing/testing.go:85
↓ 1 callers
Function
forwardOnReflect
(l *lua.State, val interface{})
util/deep_push.go:84
↓ 1 callers
Function
isArray
(l *lua.State, idx int)
util/deep_pull.go:96
↓ 1 callers
Function
isEqual
(t *testing.T)
tst/lua_test_runner.go:49
↓ 1 callers
Function
isFalse
(t *testing.T)
tst/lua_test_runner.go:36
↓ 1 callers
Function
isNotEqual
(t *testing.T)
tst/lua_test_runner.go:63
↓ 1 callers
Function
isTrue
(t *testing.T)
tst/lua_test_runner.go:23
↓ 1 callers
Function
log
(t *testing.T)
pkg/testing/testing.go:94
↓ 1 callers
Function
logf
(t *testing.T)
pkg/testing/testing.go:102
↓ 1 callers
Function
luaArray
(l *lua.State)
util/deep_pull.go:88
↓ 1 callers
Function
openTestingLibrary
(l *lua.State, t *testing.T)
pkg/testing/testing.go:44
↓ 1 callers
Function
pullArrayRec
(l *lua.State, idx int)
util/deep_pull.go:109
↓ 1 callers
Function
randomMap
(size int)
util/deep_pull_test.go:54
↓ 1 callers
Function
recurseOnFuncSlice
the hack of using a func(int)interface{} makes it that it is valid for any type of slice
util/deep_push.go:110
Function
DumpFrame
DumpFrame writes the currently visible frames of the Lua stack in a human-readable way.
util/debug.go:11
Function
Open
(l *lua.State)
goluago.go:22
Function
RunLuaTestFile
(t *testing.T, requireCallback func(l *lua.State), luaSourceFileName string)
pkg/testing/testing.go:16
Function
RunLuaTestString
(t *testing.T, requireCallback func(l *lua.State), luaSource string)
pkg/testing/testing.go:10
Function
TestAllPackages
(t *testing.T)
tst/lua_test.go:29
Function
TestPullStringTableFromLua
(t *testing.T)
util/deep_pull_test.go:141
Function
TestPullString_Random0
From Go to lua to Go
util/deep_pull_test.go:19
Function
TestPullString_Random10
(t *testing.T)
util/deep_pull_test.go:20
Function
TestPullString_Random100
(t *testing.T)
util/deep_pull_test.go:21
Function
TestPullString_Random1000
(t *testing.T)
util/deep_pull_test.go:22
Function
TestPullTableFailsGracefullyOnCyclicStructures
(t *testing.T)
util/deep_pull_test.go:278
Function
TestPullTableFailsGracefullyOnUnconvertableValues
(t *testing.T)
util/deep_pull_test.go:292
Function
TestPullTableFailsWhenNotATable
(t *testing.T)
util/deep_pull_test.go:267
Function
TestPullTableFromLua
(t *testing.T)
util/deep_pull_test.go:200
Function
TestPullTableWithArraysFromLua
(t *testing.T)
util/deep_pull_test.go:227
Function
TestVarargsFrom1
(t *testing.T)
util/varargs_test.go:11
Function
TestVarargsFrom2
(t *testing.T)
util/varargs_test.go:20
Function
TestVarargsFromBeyondEnd
(t *testing.T)
util/varargs_test.go:38
Function
TestVarargsFromEnd
(t *testing.T)
util/varargs_test.go:29
Function
TestVarargsWithBoolean
(t *testing.T)
util/varargs_test.go:54
Function
TestVarargsWithFunction
(t *testing.T)
util/varargs_test.go:88
Function
TestVarargsWithNil
(t *testing.T)
util/varargs_test.go:47
Function
TestVarargsWithNumber
(t *testing.T)
util/varargs_test.go:62
Function
TestVarargsWithString
(t *testing.T)
util/varargs_test.go:71
Function
TestVarargsWithTable
(t *testing.T)
util/varargs_test.go:79
Function
TestVarargsWithThread
(t *testing.T)
util/varargs_test.go:112
Function
TestVarargsWithUserData
(t *testing.T)
util/varargs_test.go:104
Function
add
(l *lua.State)
pkg/time/time.go:64
Function
compile
(l *lua.State)
pkg/regexp/regexp.go:47
Function
decode
(l *lua.State)
pkg/encoding/base64/base64.go:30
Function
decode
(l *lua.State)
pkg/encoding/hex/hex.go:30
Function
decryptCBC
(l *lua.State)
pkg/crypto/aes/aes.go:53
Function
digest
(l *lua.State)
pkg/crypto/sha256/sha256.go:21
Function
encode
(l *lua.State)
pkg/encoding/base64/base64.go:24
Function
encode
(l *lua.State)
pkg/encoding/hex/hex.go:22
Function
encryptCBC
(l *lua.State)
pkg/crypto/aes/aes.go:26
Function
escape
(l *lua.State)
pkg/net/url/url.go:140
Function
format
(l *lua.State)
pkg/time/time.go:31
Function
formatISO
(l *lua.State)
pkg/time/time.go:48
Function
getenv
(l *lua.State)
pkg/env/env.go:25
Function
marshal
(l *lua.State)
pkg/encoding/json/json.go:32
Function
match
(l *lua.State)
pkg/regexp/regexp.go:26
Function
now
(l *lua.State)
pkg/time/time.go:88
Function
parse
(l *lua.State)
pkg/net/url/url.go:26
Function
parse
(l *lua.State)
pkg/time/time.go:100
next →
1–100 of 125, ranked by callers