
JCano694968 (Community Member) asked a question.
I packaged a microservice developed in Go 1.24.3, but I'm getting an error preventing me from adding this file for analysis.
Support Issue (fatal): Parse failure: Error:
err: exit status 1: stderr: go: go.mod requires go \u003e= 1.24.3 (running go 1.24.2; GOTOOLCHAIN=local)\n
Does Veracode not support parsing Go 1.24.3? Should I use Go 1.24.2, or can I package it another way to work around this error?
Information:
Module/File: Go files within mp-svc.zip
Platform:GOLANG / GoLang / GOLANG_1_24
Status: Not Selected as Entry Point
Error: Support Issue (fatal): Parse failure: Error:
err: exit status 1: stderr: go: go.mod requires go \u003e= 1.24.3 (running go 1.24.2; GOTOOLCHAIN=local)\n
Regards
.png)
Hi @JCano694968 (Community Member) -
Your go.mod file sets the minimum version of go that the code will build under to 1.24.3 (see below snippet).
module mp-whitelabel-credits-svc
go 1.24.3 // <---- Sets minimum go version to absolute latest
require (
...
)
You can change that line to read go 1.24 or even go 1.24.2 and the app will still build on your machines with 1.24.3 installed and it will work with our current release.