2
2
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:
TorchedSammy 2021-12-01 17:29:14 -04:00
parent 34778a4bdf
commit 3568b62219
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD

@ -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,
}