mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Remove usage of slices in enum generator. (#516)
This commit is contained in:
parent
d4ef21531a
commit
b457dc872f
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ import (
|
|||
"go/format"
|
||||
"log"
|
||||
"os"
|
||||
"slices"
|
||||
"sort"
|
||||
"strings"
|
||||
"text/template"
|
||||
)
|
||||
|
|
@ -135,7 +135,7 @@ func main() {
|
|||
defs = append(defs, k)
|
||||
}
|
||||
}
|
||||
slices.Sort(defs)
|
||||
sort.Strings(defs)
|
||||
|
||||
var source bytes.Buffer
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue