Preliminary Commit with fixes

- Sorted imports
- Fixed nested if block
- Added special nolint (goerr113) argument for error initialization
- Edited port in main.go
- Deleted swagger.json
This commit is contained in:
riabovvo committed 2020-09-02 10:33:28 +03:00
1 parent 9092acc8bf
commit abd54bf180
8 files changed
+32 -274

No files matched your search

+2 -2
View File
@@ -134,8 +134,8 @@ func TestGopherLua(t *testing.T) {
}
dst := l.GetGlobal("dst")
b, err = json.Encode(dst)
if !assert.NoError(err) {
return
if err != nil {
panic(err)
}
m := make(map[string]interface{})
err = json2.Unmarshal(b, &m)