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.
22package hex
33
44import (
Original file line number Diff line number Diff line change 11package hex
22
3- import (
4- lua "github.com/yuin/gopher-lua"
5- )
3+ import lua "github.com/yuin/gopher-lua"
64
75// Preload adds yaml to the given Lua state's package.preload table. After it
86// has been preloaded, it can be loaded using require:
@@ -17,7 +15,7 @@ func Loader(L *lua.LState) int {
1715 registerHexDecoder (L )
1816 registerHexEncoder (L )
1917
20- // Register the encodings offered by base64 go module.
18+ // Register the encodings offered by hex go module.
2119 t := L .NewTable ()
2220 L .SetFuncs (t , map [string ]lua.LGFunction {
2321 "decode_string" : DecodeString ,
You can’t perform that action at this time.
0 commit comments