Sign in
go
/
tools.git
/
28beb2d504e1b94a562eaea593e7e405121f3aac
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
invertifcondition
/
semicolon.go
blob: a23589374fd865e1fae4133e57b4940b7c77062a [
file
] [
log
] [
blame
]
package invertifcondition
import (
"fmt"
)
func Semicolon() {
if _, err := fmt.Println("x"); err != nil {
//@suggestedfix("if", "refactor.rewrite", "")
fmt.Println("A")
} else {
fmt.Println("B")
}
}