fix: err check in gin router for golangci
Some checks failed
Backend ci / build (push) Failing after 4m16s
Some checks failed
Backend ci / build (push) Failing after 4m16s
This commit is contained in:
@@ -10,6 +10,9 @@ func main() {
|
||||
docs.SwaggerInfo.BasePath = "/api/v1"
|
||||
docs.SwaggerInfo.Title = "d3m0k1d.ru"
|
||||
docs.SwaggerInfo.Version = "1.0"
|
||||
router.Run()
|
||||
err := router.Run()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user