Go Style Guide
Gustavo Niemeyer
gustavo at niemeyer.net
Thu Feb 20 20:48:34 UTC 2014
On Thu, Feb 20, 2014 at 5:31 PM, Nate Finch <nate.finch at canonical.com> wrote:
> One thing that I thought was very interesting was using import dot to get
> around circular references for tests. I actually hit this exact problem
> just yesterday.
>
> https://code.google.com/p/go-wiki/wiki/Style#Import_Dot
I prefer to import the package by its own name, even when there are no
circular dependencies.
gustavo @ http://niemeyer.net
More information about the Juju-dev
mailing list