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
In lots of places I end up generating a body file on the spot from a stream of data & a structure:
qfs.NewMemfileBytes(fmt.Sprintf("body.%s", ds.Structure.Format), w.Bytes())
I think this could be composed a little nicer, to something like:
body := qfs.NewMemfileReader(ds.Structure.BodyFilename(), r)
For that we'd need something like:
func (st *Structure) BodyFilename() string { return fmt.Sprintf("body.%s", ds.Structure.Format) }
it's a small win, but would produce more consistency across the codebase
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In lots of places I end up generating a body file on the spot from a stream of data & a structure:
I think this could be composed a little nicer, to something like:
For that we'd need something like:
it's a small win, but would produce more consistency across the codebase
The text was updated successfully, but these errors were encountered: