Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
database/sql: Rows.Scan does not use the %w verb when wrapping errors #38099
What version of Go are you using (
@jba @andybons: I’m not sure how this would be interpreted as a breaking change. Because
If developers are currently using
In fact, with the introduction of
Someone might argue that these errors shouldn’t be wrapped because this is exposing the internal details of the
I'm agreeing with @sfllaw's conclusion.
One of the affected use cases would be implementers of the
Using the above pattern, I would expect to can do something like:
I think we should do this.
I expect that this will break some tests using
I don't expect any breakage from code using
Ok, I will adapt the documentation and amend the change later today.…
On 13 August 2020 12:26:23 EEST, Simon Law ***@***.***> wrote: @muhlemmer Suggestion: we should document how the Scanner's error propagates through the stack. -- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: #38099 (comment)
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.