Upcoming import change for loggo
roger peppe
rogpeppe at gmail.com
Thu Mar 6 09:44:24 UTC 2014
On 5 March 2014 20:14, Gustavo Niemeyer <gustavo at niemeyer.net> wrote:
> On Wed, Mar 5, 2014 at 5:12 PM, Nate Finch <nate.finch at canonical.com> wrote:
>> For the record, I'm not a fan of duplicating the package name of anything in
>> the standard library. Obviously, sometimes collisions will happen if a new
>> package is added to the standard library, but it seems like a bad idea to do
>> it on purpose. When you're deep in the middle of a file, and you see
>>
>> log.Printf()
>
> That looks like a pretty interesting example of when a matching
> package name *is* a good idea. If I was able to just switch a logging
> package and be able to have things working seamlessly, I'd love it.
That's precisely the reason that I named github.com/juju/errgo/errors
as I did - it implements a strict superset of the standard errors package.
More information about the Juju-dev
mailing list