You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This probably requires some benchmarking, but should this mean https://github.com/uber-go/guide/blob/master/src/error-type.md should be updated to generally recommend fmt.Errorf for all cases for consistency instead of the current "use fmt.Errorf iff for dynamic error messages"?
Go 1.26 has this in its changelog:
Source: https://go.dev/doc/go1.26#fmtpkgfmt
This probably requires some benchmarking, but should this mean https://github.com/uber-go/guide/blob/master/src/error-type.md should be updated to generally recommend
fmt.Errorffor all cases for consistency instead of the current "usefmt.Errorfiff for dynamic error messages"?