Skip to content

new checker http-const #299

new checker http-const

new checker http-const #299

Triggered via pull request June 25, 2024 21:18
Status Failure
Total duration 34s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors
lint: internal/checkers/http_const.go#L72
invalid operation: cannot take address of newConstReplacement(bt, currentVal, newVal) (value of type analysis.SuggestedFix)
lint: internal/checkers/http_const.go#L81
invalid operation: cannot take address of newConstReplacement(bt, currentVal, newVal) (value of type analysis.SuggestedFix) (typecheck)
lint: internal/config/config.go#L8
could not import github.com/Antonboom/testifylint/internal/checkers (-: # github.com/Antonboom/testifylint/internal/checkers
lint: internal/checkers/http_const.go#L72
invalid operation: cannot take address of newConstReplacement(bt, currentVal, newVal) (value of type analysis.SuggestedFix)
lint: internal/checkers/http_const.go#L81
invalid operation: cannot take address of newConstReplacement(bt, currentVal, newVal) (value of type analysis.SuggestedFix)) (typecheck)
lint: analyzer/analyzer.go#L11
could not import github.com/Antonboom/testifylint/internal/checkers (-: # github.com/Antonboom/testifylint/internal/checkers
lint: internal/checkers/http_const.go#L72
invalid operation: cannot take address of newConstReplacement(bt, currentVal, newVal) (value of type analysis.SuggestedFix)
lint: internal/checkers/http_const.go#L81
invalid operation: cannot take address of newConstReplacement(bt, currentVal, newVal) (value of type analysis.SuggestedFix)) (typecheck)
lint: analyzer/checkers_factory_test.go#L264
v.Name undefined (type T has no field or method Name) (typecheck)
lint: analyzer/checkers_factory_test.go#L275
v.Name undefined (type T has no field or method Name) (typecheck)
test: internal/checkers/http_const.go#L72
invalid operation: cannot take address of newConstReplacement(bt, currentVal, newVal) (value of type analysis.SuggestedFix)
test: internal/checkers/http_const.go#L81
invalid operation: cannot take address of newConstReplacement(bt, currentVal, newVal) (value of type analysis.SuggestedFix)
test
Process completed with exit code 1.