You have implemented error on *Thing, so it is *that* which fmt is running,
which then in turn runs the implementation from your wrapped error.
If you don't wish fmt to treat your *Thing as an error, you must remove
method Error() string from it.
On Tuesday, August 28, 2018 at 5:15:31 PM UTC-
On Saturday, July 28, 2018 at 11:43:04 AM UTC-7, nafis wrote:
>
> Suppose I'm making a library and it does reference some other library not
> part of the standard library. I want to vendor those so that my library
> doesn't fail if the other 3rd party developer deletes their library or
> major