Reduce Go version in go.mod, since Go buildpack is stuck at 1.24
Changes proposed in this pull request:
- The version in the Go mod determines which Go toolchain is used to build the project, and which will be used for static analysis.
Things to check
- For any logging statements, is there any chance that they could be logging sensitive data?
- Are log statements using a logging library with a logging level set? Setting a logging level means that log statements "below" that level will not be written to the output. For example, if the logging level is set to
INFOand debugging statements are written withlog.debugor similar, then they won't be written to the otput, which can prevent unintentional leaks of sensitive data.
Security considerations
Go supports one major version behind the latest major, so 1.24 will still be supported and receive security updates until 1.26 is released.