[go-nuts] Re: Does fmt.Print* automatically render an error string in as struct (play link)

2018-08-28 Thread mart
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-

[go-nuts] Re: Keep Vendor folder on library Repository is Bad or Good practice.

2018-08-13 Thread mart
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