Closed dolmen closed 2 years ago
Use errors.New instead of fmt.Errorf when the message is a constant string.
errors.New
fmt.Errorf
2022-04-28 The golang.org/x/exp/slices is, like its import path implies, still experimental.
Use
errors.New
instead offmt.Errorf
when the message is a constant string.