File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,14 @@ package base64
2
2
3
3
import (
4
4
"encoding/base64"
5
+
5
6
lua "github.com/yuin/gopher-lua"
6
7
)
7
8
8
- // Preload adds yaml to the given Lua state's package.preload table. After it
9
+ // Preload adds base64 to the given Lua state's package.preload table. After it
9
10
// has been preloaded, it can be loaded using require:
10
11
//
11
- // local yaml = require("yaml ")
12
+ // local base64 = require("base64 ")
12
13
func Preload (L * lua.LState ) {
13
14
L .PreloadModule ("base64" , Loader )
14
15
}
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ package hex
2
2
3
3
import lua "github.com/yuin/gopher-lua"
4
4
5
- // Preload adds yaml to the given Lua state's package.preload table. After it
5
+ // Preload adds hex to the given Lua state's package.preload table. After it
6
6
// has been preloaded, it can be loaded using require:
7
7
//
8
- // local yaml = require("yaml ")
8
+ // local hex = require("hex ")
9
9
func Preload (L * lua.LState ) {
10
10
L .PreloadModule ("hex" , Loader )
11
11
}
You can’t perform that action at this time.
0 commit comments