Skip to content

Commit

Permalink
fix import alias name
Browse files Browse the repository at this point in the history
  • Loading branch information
chavacava committed Sep 23, 2023
1 parent e367ba0 commit 0339563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions formatter/checkstyle.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package formatter
import (
"bytes"
"encoding/xml"
plainTemplate "text/template"
plain "text/template"

"github.com/mgechev/revive/lint"
)
Expand Down Expand Up @@ -50,7 +50,7 @@ func (*Checkstyle) Format(failures <-chan lint.Failure, config lint.Config) (str
issues[fn] = append(issues[fn], iss)
}

t, err := plainTemplate.New("revive").Parse(checkstyleTemplate)
t, err := plain.New("revive").Parse(checkstyleTemplate)
if err != nil {
return "", err
}
Expand Down

0 comments on commit 0339563

Please sign in to comment.