-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-debug generates wrong output (bindataFileInfo struct is missing) #58
Comments
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)
And an older one without the fix for this issue is added to
If you install the latest
The unexpected packages added will be added to
Could you release the latest |
(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 |
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. |
How strange. This happened to me today on my work laptop. It didn't happen on my personal laptop though, on the same project. |
Still an issue? |
@tooolbox I'll try to check this again, hopefully tomorrow. Thanks |
(As a note, I actually just ran into this and the solution was to |
Currently is impossible to read the source files from the file system during the development.
Put static assets for a web site to the following directory structure in the project root:
Generate
assets.go
for the context of theassets
directory:Running the project fails (and so does a build):
Running or building the project with
assets.go
generated with the-dev
switch fails with the same error (you have to definerootDir
). Running or building the project withassets.go
generated without the-debug
switch works well.The workaround is to copy the declaration of
bindataFileInfo
and its methods from the generated output without thedebug
switch to the development project.The text was updated successfully, but these errors were encountered: