Comments (7)
(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.
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.
(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.
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.
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.
Still an issue?
from go-bindata.
@tooolbox I'll try to check this again, hopefully tomorrow. Thanks
from go-bindata.
Related Issues (20)
- Don't emit modified Go if underlying assets haven't changed HOT 6
- `-prefix` still shows prefix in comments HOT 1
- zsh: command not found: go-bindata HOT 4
- 404 when hosting using `-fs` and hosting over `net/http` HOT 5
- checksum mismatch HOT 1
- Can I use this package to generate binary code for all my methods in one package and call the methods through bindata.go HOT 1
- Not reading subdirectories
- Execute binary in memory HOT 1
- binary releases ? HOT 1
- bindataFileInfo not defined when using -debug HOT 1
- Feature: add ability to completely clean embedded binary content at run time HOT 1
- centos build arm run error HOT 1
- web edit
- installation instruction not working with go1.17.1 HOT 4
- 你好,windows 10下运行报错 HOT 1
- go-staticcheck linter warnings in generated code HOT 1
- Error: no migration found
- Q: How to unpack a bindata.go file? HOT 1
- go-bindata command not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-bindata.