Skip to content

Commit

Permalink
Sort imports for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
abitrolly committed Nov 11, 2024
1 parent 2568abd commit 3ee0ad0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/genvalues/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"os"
"os/exec"
"reflect"
"sort"
"strings"
"text/template"
"unicode"
Expand Down Expand Up @@ -538,6 +539,7 @@ func main() {
for _, value := range values {
imports = append(imports, value.Import...)
}
sort.Strings(imports)

baseT := template.New("genvalues").Funcs(template.FuncMap{
"Lower": strings.ToLower,
Expand Down

0 comments on commit 3ee0ad0

Please sign in to comment.