style: use decl and assign operator instead of var and =

dev
TorchedSammy 2021-12-01 17:29:14 -04:00
parent 34778a4bdf
commit 3568b62219
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ func New() Commander {
} }
func (c *Commander) Loader(L *lua.LState) int { func (c *Commander) Loader(L *lua.LState) int {
var exports = map[string]lua.LGFunction{ exports := map[string]lua.LGFunction{
"register": c.cregister, "register": c.cregister,
"deregister": c.cderegister, "deregister": c.cderegister,
} }