-
Notifications
You must be signed in to change notification settings - Fork 187
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
Finding boxes in the sub-packages #52
Comments
Have you tried adding multiple boxes by using the |
And yes, Ricefile will be a better solution for this. If you have any thoughts on it please respond in that topic, I could really use feedback and brainstorm material. |
No, I haven't tried using Here is what convinced me: we do have a //go:generate esc -o assets.go -prefix=assets assets/ with
in This is not to convince you to drop developing |
BTW, since
|
@victorkryukov Good to hear you have a solution and thanks for your view on these things. I agree that rice aims on more complex cases (multiple directories, files, options). That is also where I want to go with rice 2.0 and the Ricefile. Compressing the data is really interesting, I hadn't thought about that yet. Since --import-path would probably solve your problem, I will close this issue. |
@GeertJohan absolutely. Good luck with Rice 2.0 - I'll definitely keep an eye on the development. |
I know it says so in the
TODO
section in the README, butgo.rice
needs to support finding boxes in packages.I have an local webserver app that is using
rice
to store resources, but it doesn't work for the packages I import, even when these packages userice embed-go
strategy to store their assets. That's really limiting my ability to userice
, and I guess I'm not the only one with this problem.I'm creating this issue to track the progress. I'm would like to work on this and would appreciate any pointers on where should I start.
The text was updated successfully, but these errors were encountered: