scripts/version.sh: downgrade version

use go 1.24 and remove usage of wg.Go().
This commit is contained in:
Harvey Tindall
2025-12-09 17:42:45 +00:00
parent 03cf533c9d
commit aa75305da4
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
module github.com/hrfee/jfa-go/scripts/variants
go 1.25.4
go 1.24.0

View File

@@ -94,11 +94,13 @@ func ParseDirParallel(in, out string) error {
if err != nil {
return err
}
wg.Go(func() {
wg.Add(1)
go func() {
if err := ParseFile(path, outFile, &perm); err != nil {
panic(err)
}
})
wg.Done()
}()
return nil
})
if err != nil {