mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:44:35 +03:00
update to go1.23 and replace golang.org/x/exp/maps with stdlib maps
This commit is contained in:
@ -17,8 +17,6 @@ import (
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"golang.org/x/exp/maps"
|
||||
)
|
||||
|
||||
var destdir string
|
||||
@ -69,8 +67,6 @@ func main() {
|
||||
for _, files := range srcdirs {
|
||||
sort.Strings(files)
|
||||
}
|
||||
dirs := maps.Keys(srcdirs)
|
||||
sort.Strings(dirs)
|
||||
var codeBuf bytes.Buffer
|
||||
err := codeTemplate.Execute(&codeBuf, map[string]any{
|
||||
"Dirs": srcdirs,
|
||||
|
Reference in New Issue
Block a user