Skip to content

Conversation

@vinayakumarb
Copy link

No description provided.

@vinayakumarb vinayakumarb changed the title Upgrade the go version to 1.24 and upgrade dependencies to latest versions [WIP] Upgrade the go version to 1.24 and upgrade dependencies to latest versions Apr 22, 2025
if requestID == "" {
errorMsg := "No request ID specified"
log.Printf(errorMsg)
log.Println(errorMsg)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not aware of any Golang best practices/guidance around not using the *Printf methods for literal strings.

At the very least, however, if we were to make this change then it should be a separate, isolated PR

module github.com/google/inverting-proxy

go 1.18
go 1.24.2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not aware of a good reason to change this.

This isn't specifying what version of Go you use to build the packages; that's something controlled by the build environment and commands you use.

Instead, this is the minimum version required.

So, changing this is basically saying: "Force the build to fail if someone has anything other than the latest version of Golang installed", and that's a really heavy handed thing to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants