slimtoolkit / slim

Slim(toolkit): Don't change anything in your container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
Apache License 2.0
18.89k stars 704 forks source link

chore: use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...)) #542

Closed testwill closed 1 year ago

testwill commented 1 year ago

Fixes-###

What

use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...))

Why

should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...))

How Tested

staticcheck

kcq commented 1 year ago

thanks for the fixes @testwill !