File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
- // Package hex implements base64 encode/decode functionality for lua.
1
+ // Package hex implements hex encode/decode functionality for lua.
2
2
package hex
3
3
4
4
import (
Original file line number Diff line number Diff line change 1
1
package hex
2
2
3
- import (
4
- lua "github.com/yuin/gopher-lua"
5
- )
3
+ import lua "github.com/yuin/gopher-lua"
6
4
7
5
// Preload adds yaml to the given Lua state's package.preload table. After it
8
6
// has been preloaded, it can be loaded using require:
@@ -17,7 +15,7 @@ func Loader(L *lua.LState) int {
17
15
registerHexDecoder (L )
18
16
registerHexEncoder (L )
19
17
20
- // Register the encodings offered by base64 go module.
18
+ // Register the encodings offered by hex go module.
21
19
t := L .NewTable ()
22
20
L .SetFuncs (t , map [string ]lua.LGFunction {
23
21
"decode_string" : DecodeString ,
You can’t perform that action at this time.
0 commit comments