Coder Social home page Coder Social logo

Comments (4)

klauspost avatar klauspost commented on June 15, 2024

Upgrade your go version.

from compress.

co60ca avatar co60ca commented on June 15, 2024

@klauspost, I think the go.mod should reflect the version of Go required to build. So it would be 1.19 based on this page.
https://pkg.go.dev/encoding/binary#pkg-variables

We ran into this today as well.

from compress.

klauspost avatar klauspost commented on June 15, 2024

@co60ca Sure, but you really shouldn't be using a go version that is more than half a year after EOL. I updated go.mod.

from compress.

co60ca avatar co60ca commented on June 15, 2024

We were using github actions to compile and simply setting the compiler version to the go.mod version. In hindsight we probably should just set it to latest.

I thought that Go used the go.mod to determine the language compatibility it should be build with so I'm surprised a later go compiler would even allow you to compile this module with a go.mod of 1.18 if it required a feature introduced in 1.19 but maybe thats my lack of understanding.

By the way. Klaus, I understand this is a thankless job sometimes and I appreciate your work on supporting this. And thank you for the quick change.

from compress.

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.