refactor: upgrade golangci-lint to v2.0.2 (#28416)

This commit is contained in:
McKayla はな
2026-08-21 23:46:27 -06:00
committed by GitHub
parent 610f321d52
commit 5ca0143992
134 changed files with 552 additions and 626 deletions
+3 -2
View File
@@ -121,9 +121,10 @@ func parseSwaggerComment(commentGroup *ast.CommentGroup) SwaggerComment {
r.model = args[2]
}
if annotationName == "@Success" {
switch annotationName {
case "@Success":
c.successes = append(c.successes, r)
} else if annotationName == "@Failure" {
case "@Failure":
c.failures = append(c.failures, r)
}
case "@Param":