2021/06/06 02:06:49 http: panic serving 127.0.0.1:14273: runtime error: invalid memory address or nil pointer dereference
goroutine 63000 [running]:
net/http.(*conn).serve.func1(0xc000a96640)
/usr/local/go/src/net/http/server.go:1824 +0x153
panic(0xc2a900, 0x13c9330)
/usr/local/go/src/runtime/panic.go:971 +0x499
PanIndex/Util.GetDownlaodUrl(0xc0005d2120, 0x24, 0xc001788070, 0x68, 0x10, 0xbfa5a0)
/github/workspace/Util/Cloud189.go:137 +0x27d
PanIndex/service.GetDownlaodUrl(0xc0005d2120, 0x24, 0xc0005b4258, 0x15, 0xc0005b3c40, 0x8, 0xc0005b3c60, 0xb, 0xc0005b3c90, 0xe, ...)
/github/workspace/service/service.go:181 +0x285
main.index(0xc000cf20f0)
/github/workspace/main.go:224 +0x958
main.main.func1(0xc000cf20f0)
/github/workspace/main.go:134 +0x8ec
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
github.com/gin-gonic/gin.LoggerWithConfig.func1(0xc000cf20f0)
/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:241 +0xf4
github.com/gin-gonic/gin.(*Context).Next(...)
/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:161
github.com/gin-gonic/gin.serveError(0xc000cf20f0, 0x194, 0x14014b0, 0x12, 0x12)
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:445 +0x49
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0003d8500, 0xc000cf20f0)
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:438 +0x4fc
github.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0003d8500, 0xe12a28, 0xc000980380, 0xc000132800)
/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:367 +0x14d
net/http.serverHandler.ServeHTTP(0xc0004d8000, 0xe12a28, 0xc000980380, 0xc000132800)
/usr/local/go/src/net/http/server.go:2887 +0xa3
net/http.(*conn).serve(0xc000a96640, 0xe14a20, 0xc00048d0c0)
/usr/local/go/src/net/http/server.go:1952 +0x8cd
created by net/http.(*Server).Serve
/usr/local/go/src/net/http/server.go:3013 +0x39b