Closed conallob closed 3 months ago
Follow on from https://github.com/prometheus/procfs/issues/358
https://go.dev/doc/go1.20#errors introduces the ability to wrap multiple errors using multiple %w atoms in fmt.Errorf()
%w
fmt.Errorf()
Once Go v1.20 is the default version, fmt.Errorf() entries should be updated to use multiple %w atoms. Thanks to https://github.com/prometheus/procfs/issues/358 , this should be replacing %s for %w
%s
Follow on from https://github.com/prometheus/procfs/issues/358
https://go.dev/doc/go1.20#errors introduces the ability to wrap multiple errors using multiple
%w
atoms infmt.Errorf()
Once Go v1.20 is the default version,
fmt.Errorf()
entries should be updated to use multiple%w
atoms. Thanks to https://github.com/prometheus/procfs/issues/358 , this should be replacing%s
for%w