Content-Length: 255809 | pFad | https://github.com/go-viper/mapstructure/commit/a3f8b227dcdae324c070d389152837f0aa635f4b

87 revert: error message change · go-viper/mapstructure@a3f8b22 · GitHub
Skip to content

Commit a3f8b22

Browse files
committed
revert: error message change
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
1 parent 9661f6d commit a3f8b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (e *DecodeError) Unwrap() error {
3939
}
4040

4141
func (e *DecodeError) Error() string {
42-
return fmt.Sprintf("decoding '%s': %s", e.name, e.err)
42+
return fmt.Sprintf("'%s' %s", e.name, e.err)
4343
}
4444

4545
func (*DecodeError) mapstructure() {}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/go-viper/mapstructure/commit/a3f8b227dcdae324c070d389152837f0aa635f4b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy