2 ms·
... not sure if serious or not
by rogerkeays 3y ago
... not sure if serious or not
- clhodapp 3y agoI'm completely serious in the sense that you could do that and really would in some situations. You might do it because you want to factor the handling of the different result cases out to another function.
- rogerkeays 3y agoYou don't think it would limit the independent use of f()?
- masklinn 3y agoNo? Surely if f() takes a full result (including error condition) it's because there's something it wants to do with that?
- EspressoGPT 3y agoVery serious. https://pkg.go.dev/text/template#Must https://pkg.go.dev/text/template#Must