Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Shopify/go-lua
/ LoadString
Function
LoadString
auxiliary.go:525–525 ·
view source on GitHub ↗
(l *State, s string)
Source
from the content-addressed store, hash-verified
523
}
524
525
func
LoadString(l *State, s string) error {
return
LoadBuffer(l, s, s,
""
) }
526
527
func
LoadBuffer(l *State, b, name, mode string) error {
528
return
l.Load(strings.NewReader(b), name, mode)
Callers
11
TestEmptyString
Function · 0.85
testStringHelper
Function · 0.85
TestProtectedCall
Function · 0.85
benchmarkSort
Function · 0.85
BenchmarkFibonnaci
Function · 0.85
TestTableUserdataEquality
Function · 0.85
TestUserDataEqualityNil
Function · 0.85
TestError
Function · 0.85
TestErrorf
Function · 0.85
DoString
Function · 0.85
TestLoadStringSyntaxError
Function · 0.85
Calls
1
LoadBuffer
Function · 0.85
Tested by
10
TestEmptyString
Function · 0.68
testStringHelper
Function · 0.68
TestProtectedCall
Function · 0.68
benchmarkSort
Function · 0.68
BenchmarkFibonnaci
Function · 0.68
TestTableUserdataEquality
Function · 0.68
TestUserDataEqualityNil
Function · 0.68
TestError
Function · 0.68
TestErrorf
Function · 0.68
TestLoadStringSyntaxError
Function · 0.68