Giter VIP home page Giter VIP logo

Comments (7)

tooolbox avatar tooolbox commented on June 24, 2024 1

(As a note, I actually just ran into this and the solution was to go get github.com/go-bindata/go-bindata/v3/[email protected] and the issue went away. Probably needs an update to the README install instructions.)

from go-bindata.

prantlf avatar prantlf commented on June 24, 2024

After looking around this repository I found that you merged a fix for this issue already. However, you have not released the fixed version yet.

If you install the latest version, the (currently latest) v3.1.3 will not be downloaded:

$ go get -u github.com/go-bindata/go-bindata/...
go: found github.com/go-bindata/go-bindata/... in github.com/go-bindata/go-bindata v3.1.2+incompatible

And an older one without the fix for this issue is added to go.mod:

github.com/go-bindata/go-bindata v3.1.2+incompatible // indirect

If you install the latest v3, it will download it properly, but it will add two extra packages, which you do not request:

$ go get -u github.com/go-bindata/go-bindata/v3/...
go: found github.com/go-bindata/go-bindata/v3/... in github.com/go-bindata/go-bindata/v3 v3.1.3
go: golang.org/x/lint upgrade => v0.0.0-20200302205851-738671d3881b
go: golang.org/x/tools upgrade => v0.0.0-20200505023115-26f46d2f7ef8
go: golang.org/x/xerrors upgrade => v0.0.0-20191204190536-9bdfabe68543

The unexpected packages added will be added to go.mod too:

github.com/go-bindata/go-bindata/v3 v3.1.3 // indirect
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8 // indirect

Could you release the latest v3, please, without the two unneeded packages? Thank you!

from go-bindata.

kevinburke avatar kevinburke commented on June 24, 2024

(note just for myself, since I have to look this up every time; this isn't broken on my fork because I never added a -fs mode; the debug tests work correctly)

from go-bindata.

prantlf avatar prantlf commented on June 24, 2024

I see. The file system interface is a very useful feature. I feed it to the HTTP server wrapped in a middleware to support response compression. It chains nicely.

from go-bindata.

amireldor avatar amireldor commented on June 24, 2024

How strange. This happened to me today on my work laptop. It didn't happen on my personal laptop though, on the same project.

from go-bindata.

tooolbox avatar tooolbox commented on June 24, 2024

Still an issue?

from go-bindata.

amireldor avatar amireldor commented on June 24, 2024

@tooolbox I'll try to check this again, hopefully tomorrow. Thanks

from go-bindata.

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.