We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Except Open, I want to have handy method to get content of a file directly https://github.com/GeertJohan/go.rice#package-usage, maybe a Tree method, serve http file etc.
Open
Tree
// find a rice.Box templateBox, err := rice.FindBox("example-templates") if err != nil { log.Fatal(err) } // get file contents as string templateString, err := templateBox.String("message.tmpl") if err != nil { log.Fatal(err) }
The text was updated successfully, but these errors were encountered:
[noodle] Rename Box -> Bowel #84
321a287
- noodle bowel with different types of noodle
No branches or pull requests
Except
Open
, I want to have handy method to get content of a file directly https://github.com/GeertJohan/go.rice#package-usage, maybe aTree
method, serve http file etc.The text was updated successfully, but these errors were encountered: