mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-28 09:20:41 +00:00
style: use decl and assign operator instead of var and =
This commit is contained in:
parent
34778a4bdf
commit
3568b62219
@ -18,7 +18,7 @@ func New() Commander {
|
||||
}
|
||||
|
||||
func (c *Commander) Loader(L *lua.LState) int {
|
||||
var exports = map[string]lua.LGFunction{
|
||||
exports := map[string]lua.LGFunction{
|
||||
"register": c.cregister,
|
||||
"deregister": c.cderegister,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user