OJ / gobuster

Directory/File, DNS and VHost busting tool written in Go
Apache License 2.0
10.24k stars 1.22k forks source link

chore: use errors.New to replace fmt.Errorf with no parameters #495

Closed ChengenH closed 7 months ago

firefart commented 7 months ago

is there any real world benefit to this? if not I prefer the current style

ChengenH commented 7 months ago

is there any real world benefit to this? if not I prefer the current style

Just one more step to format, So if you need to format your error message fmt.Errorf(), if you don't errors.New(). Just a recommendation.