Skip to content

feat: 增强 router

feat: 增强 router #5

Triggered via push November 22, 2024 05:59
Status Failure
Total duration 44s
Artifacts

gin.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: ginS/gins.go#L27
engine().LoadHTMLGlob undefined (type *gin.Engine has no field or method LoadHTMLGlob)
lint: ginS/gins.go#L32
engine().LoadHTMLFiles undefined (type *gin.Engine has no field or method LoadHTMLFiles)
lint: ginS/gins.go#L37
engine().SetHTMLTemplate undefined (type *gin.Engine has no field or method SetHTMLTemplate) (typecheck)
lint: benchmarks_test.go#L66
router.SetHTMLTemplate undefined (type *Engine has no field or method SetHTMLTemplate)
lint: benchmarks_test.go#L69
cannot use http.StatusOK (untyped int constant 200) as string value in argument to c.HTML
lint: context_test.go#L206
c.Params undefined (type *Context has no field or method Params, but does have field params)
lint: context_test.go#L217
c.Params undefined (type *Context has no field or method Params, but does have field params)
lint: context_test.go#L527
c.Params undefined (type *Context has no field or method Params, but does have field params)
lint: context_test.go#L539
cp.Params undefined (type *Context has no field or method Params, but does have field params)
lint: context_test.go#L539
c.Params undefined (type *Context has no field or method Params, but does have field params)