OJ / gobuster

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

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

Closed ChengenH closed 2 months ago

firefart commented 2 months ago

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

ChengenH commented 2 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.