mirror of
https://github.com/hanzoai/gochimp3.git
synced 2026-10-30 18:35:57 +00:00
1 module(s) in this repo declared go < 1.22. Go 1.22 changed for-loop variable scoping to per-iteration, so raising the directive past 1.22 can change runtime behaviour. Each module here was scanned for loops whose loop variable is captured by a func literal / goroutine / defer, or has its address taken: zero such sites were found, so the bump is behaviour-preserving. Also fix 2 non-constant format strings (fmt.Fprintf(w, string(data)) -> w.Write(data)), which Go's printf vet check flags from language version 1.24 on. Verified per module with go build, go vet and go test (-mod=readonly). Co-authored-by: Hanzo Dev <[email protected]>
12 lines
237 B
AMPL
12 lines
237 B
AMPL
module github.com/hanzoai/gochimp3
|
|
|
|
go 1.26.5
|
|
|
|
require github.com/stretchr/testify v1.5.1
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.0 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
gopkg.in/yaml.v2 v2.2.2 // indirect
|
|
)
|