I’m using a custom unmarshaler in my code for dedicated types, in case of error my code was returning a json.UnmarhsalTypeError
This allowed to retrieve field name where the error occured in case type was used within a structure with standard JSON unmarshaller
Since I migrated to go1.11 today, my code do not allow to retrieve field name anymore (was Ok in go1.10.3)
Looking at new version of decode.go I could not find an easy workaround to this behavior change
here is a simple playground sample that highlight behavior
https://play.golang.org/p/AtX-5f5jWwS
Is this a regression or an unexpected behavior that dosappeared unfortunately ?
Thanks for your help