Message
[weapon_value.go:20] stack:
goroutine 1728835 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x5e
cbg-item/internal/apps/value.(*HttpServer).GetWeaponValue.func1()
/root/sources/cbg-item/internal/apps/value/weapon_value.go:20 +0x9a
panic({0x11e4720?, 0xc006cc5680?})
/usr/local/go/src/runtime/panic.go:785 +0x132
cbg-item/internal/apps/value/weapon.(*WeaponValue).getWeaponValueItemsFromTables(0xc004306300?, 0x13178b2?, {0xc0040f3b80, 0x146}, 0x5?, 0xe0?)
/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:183 +0x447
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetWeaponValueWithItems(0xc00062c600, 0xc0044b25a0, 0x1, 0x1, 0x0)
/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:138 +0x3db
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetLocalTradeItems(0xc00062c600, 0x7f603e9b15b8?)
/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:58 +0x39
cbg-item/internal/apps/value/checkpoint.(*CheckPointLocalTrade).GetResult(0xc003f42d20, {0x2169620, 0xc00062c600}, 0xc0032fb6d0?)
/root/sources/cbg-item/internal/apps/value/checkpoint/checkpoint.go:20 +0x36
cbg-item/internal/apps/value/checkpoint.(*CheckSystem).GetResult(0xc0032fb7a8, 0x0)
/root/sources/cbg-item/internal/apps/value/checkpoint/checksystem.go:29 +0x79
cbg-item/internal/apps/value/weapon.(*WeaponValue).GetWeaponValue(0xc00062c600)
/root/sources/cbg-item/internal/apps/value/weapon/weapon_value.go:253 +0x83b
cbg-item/internal/apps/value.(*HttpServer).GetWeaponValue(0x13478c3?, 0xc003c89700)
/root/sources/cbg-item/internal/apps/value/weapon_value.go:55 +0x314
github.com/gin-gonic/gin.(*Context).Next(0xc003c89700)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-item/internal/apps/value.NewHttpServer.Cors.func2(0xc003c89700)
/root/sources/cbg-item/internal/utils/cors.go:14 +0xa5
github.com/gin-gonic/gin.(*Context).Next(...)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc003c89700)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f
github.com/gin-gonic/gin.(*Context).Next(0xc003c89700)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-item/internal/apps/value.NewHttpServer.(*HttpServer).loggerMiddleware.func1(0xc003c89700)
/root/sources/cbg-item/internal/apps/value/http_server.go:284 +0xa9
github.com/gin-gonic/gin.(*Context).Next(...)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc00266d6c0, 0xc003c89700)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00266d6c0, {0x2160520, 0xc0048e0540}, 0xc0044a3680)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2
net/http.serverHandler.ServeHTTP({0x215cd00?}, {0x2160520?, 0xc0048e0540?}, 0x6?)
/usr/local/go/src/net/http/server.go:3210 +0x8e
net/http.(*conn).serve(0xc002603cb0, {0x2162d68, 0xc0034775c0})
/usr/local/go/src/net/http/server.go:2092 +0x5d0
created by net/http.(*Server).Serve in goroutine 1
/usr/local/go/src/net/http/server.go:3360 +0x485