Skip to content

Commit 2f5351e

Browse files
committed
Fix review comments.
1 parent f63197c commit 2f5351e

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

hex/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Package hex implements base64 encode/decode functionality for lua.
1+
// Package hex implements hex encode/decode functionality for lua.
22
package hex
33

44
import (

hex/loader.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package 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,

0 commit comments

Comments
 (0)