Giter Site home page Giter Site logo

Comments (5)

marktheunissen avatar marktheunissen commented on August 16, 2024 1

Makes sense. I am using go 1.21.1

Yes you need to upgrade :)

So go.mod only defines the minimum version of Go that's compatible with the repository. Output of govulncheck depends on the version used by the end-user.

Correct (for stdlib vulns).

When do we decide to update it?

When we use a new feature of the Go language that is only available in the latest release, e.g. the stdlib might add a function that we use. Then we need to bump this version number

from minio-go.

imvtsl avatar imvtsl commented on August 16, 2024 1

Thank you for the clarifications!!

from minio-go.

marktheunissen avatar marktheunissen commented on August 16, 2024

go.mod is the minimum Go version. See https://go.dev/doc/modules/gomod-ref#go

That means that a user of minio-go who compiles it with Go 1.22 (or whatever the latest is) will not be affected by vulnerabilities in the Go standard library of an older version.

from minio-go.

marktheunissen avatar marktheunissen commented on August 16, 2024

Also FYI:

~/src/minio-go on master ❯ govulncheck -show verbose ./...
Scanning your code and 167 packages across 10 dependent modules for known vulnerabilities...

Fetching vulnerabilities from the database...

Checking the code against the vulnerabilities...

No vulnerabilities found.
~/src/minio-go on master ❯ go version
go version go1.22.4 darwin/arm64

from minio-go.

imvtsl avatar imvtsl commented on August 16, 2024

Makes sense. I am using go 1.21.1
So go.mod only defines the minimum version of Go that's compatible with the repository. Output of govulncheck depends on the version used by the end-user.
Out of curiosity, how do we decide on the minimum Go version for this repository? When do we decide to update it?

from minio-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.