From 3568b62219d23cf6996c606ebba80e634e8cf23d Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Wed, 1 Dec 2021 17:29:14 -0400 Subject: [PATCH] style: use decl and assign operator instead of var and = --- golibs/commander/commander.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golibs/commander/commander.go b/golibs/commander/commander.go index 67e8950..97b0486 100644 --- a/golibs/commander/commander.go +++ b/golibs/commander/commander.go @@ -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, }