-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Error when running the tool:
Problem:
/var/folders/rd/hbhb8s197633_f8ncy6fmpqr0000gn/T/goptimizer/1cc734a3-9777-482e-8c1d-c3f85d6779c0/service/service.go:3:1: package requires newer Go version go1.25 (application built with go1.24)
-: This application uses version go1.24 of the source-processing packages but runs version go1.25 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go.
Fix:
Cloned the repo, set go.mod file to have: go 1.25.0 and did a new "go install" which then allowed betteralign to work.
Metadata
Metadata
Assignees
Labels
No labels