Kunde21 / markdownfmt

Like gofmt, but for Markdown.
MIT License
55 stars 7 forks source link

pkg/errors => fmt.Errorf #50

Closed abhinav closed 1 year ago

abhinav commented 1 year ago

Drop use of pkg/errors.Wrap and pkg/errors.Errorf in favor of fmt.Errorf.

Minor optimization: There were cases where Errorf was used with x.String() as an argument. This is unnecessary because %v will default to calling String for types that implement fmt.Stringer.

Resolves #49