Re:New in Go 1.20: wrapping multiple errors
by kaba0 on Sunday December 11, 2022 @03:34PM
(#33947192)
I mean, how often do you have to parse that part of the code? If it is everywhere, you should start writing helper functions or some other abstraction.
In my opinion this is typically a very static part of code bases, it is written correctly once (where you can look at the documentation all day long) and possibly never ever looked back on.
In my opinion this is typically a very static part of code bases, it is written correctly once (where you can look at the documentation all day long) and possibly never ever looked back on.