Tags refactor part 1

This is the first part of a refactor of the names package to introduce a Tag interface type, and real types that represent different types of Tag implementations.
This style is considered idiomatic by the go authors, it is the style in
the standard library


On Tue, Jun 10, 2014 at 11:46 AM, Tim Penhey <notifications@github.com>
wrote:

> In equality_test.go:
>
> > @@ -0,0 +1,29 @@
> > +package names
> > +
> > +import (
> > +	gc "launchpad.net/gocheck"
> > +)
> > +
> > +var tagEqualityTests = []struct {
>
> Personally I have taken to putting the struct definition inside the for
> loop for the tests now. Not a request to change, just I think this is what
> more people are doing now - informational only.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/juju/names/pull/2/files#r13574395>.
>