Closed alexandear closed 1 week ago
This PR replaces usages of fmt.Errorf with errors.New for creating errors. Not sure, if we gain a performance improvement. But definitely, errors.New is more idiomatic for creating simple errors without additional values.
fmt.Errorf
errors.New
This PR replaces usages of
fmt.Errorf
witherrors.New
for creating errors. Not sure, if we gain a performance improvement. But definitely,errors.New
is more idiomatic for creating simple errors without additional values.