Message
[pet_value.go:20] stack:
goroutine 7419779 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:26 +0x5e
cbg-item/internal/apps/value.(*HttpServer).GetPetValue.func1()
/root/sources/cbg-item/internal/apps/value/pet_value.go:20 +0x9a
panic({0x10877c0?, 0xc00493aae0?})
/usr/local/go/src/runtime/panic.go:785 +0x132
cbg-item/internal/apps/value/pet.(*PetValue).getPetValue2WithItems(0xc002954380, 0xc0037a1c80, 0x1, 0x1, 0x0, 0x0)
/root/sources/cbg-item/internal/apps/value/pet/pet_value.go:151 +0xab5
cbg-item/internal/apps/value/pet.(*PetValue).GetPetValue2WithItems(...)
/root/sources/cbg-item/internal/apps/value/pet/pet_value.go:117
cbg-item/internal/apps/value/pet.(*PetValue).GetLocalTradeItems(0xc002954380, 0x7f114c481418?)
/root/sources/cbg-item/internal/apps/value/pet/pet_value.go:56 +0x3b
cbg-item/internal/apps/value/checkpoint.(*PetCheckPointLocalTrade).GetResult(0x28b7160, {0x1fcb0c0, 0xc002954380}, 0x0)
/root/sources/cbg-item/internal/apps/value/checkpoint/pet_checkpoint.go:56 +0x139
cbg-item/internal/apps/value/checkpoint.(*PetCheckSystem).GetResult(0xc003ce57a0, 0x0)
/root/sources/cbg-item/internal/apps/value/checkpoint/pet_checksystem.go:29 +0x79
cbg-item/internal/apps/value/pet.(*PetValue).GetPetValue(0xc002954380)
/root/sources/cbg-item/internal/apps/value/pet/pet_value.go:244 +0x471
cbg-item/internal/apps/value.(*HttpServer).GetPetValue(0x11cc1aa?, 0xc003490700)
/root/sources/cbg-item/internal/apps/value/pet_value.go:44 +0x2eb
github.com/gin-gonic/gin.(*Context).Next(0xc003490700)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-item/internal/apps/value.NewHttpServer.Cors.func3(0xc003490700)
/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(0xc003490700)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x6f
github.com/gin-gonic/gin.(*Context).Next(0xc003490700)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x2b
cbg-item/internal/apps/value.NewHttpServer.(*HttpServer).loggerMiddleware.func2(0xc003490700)
/root/sources/cbg-item/internal/apps/value/http_server.go:308 +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(0xc0001396c0, 0xc003490700)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x64e
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0001396c0, {0x1fc2508, 0xc003183dc0}, 0xc0004f4b40)
/root/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1b2
net/http.serverHandler.ServeHTTP({0x1fbf260?}, {0x1fc2508?, 0xc003183dc0?}, 0x6?)
/usr/local/go/src/net/http/server.go:3210 +0x8e
net/http.(*conn).serve(0xc001deb710, {0x1fc4a48, 0xc003000ea0})
/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