Hi Christian, You’re right on this, but my question is about another aspect. The thread starter’s question was about using structs for namespaces (instead of packages). My question is, why would someone want to use empty structs for creating a name space if a package already does this. After all, packages are the natural means for creating a namespace.
Thx > Am 05.08.2016 um 11:10 schrieb Christian Joergensen > <christ...@technobabble.dk>: > > Hi, > > For starters, packages can't implement interfaces. > > Cheers, > > On Friday, August 5, 2016 at 6:19:31 AM UTC+2, Christoph Berger wrote: > Are there any advantages over using real packages? > > -- > You received this message because you are subscribed to a topic in the Google > Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/yCgjgpQsbHc/unsubscribe > <https://groups.google.com/d/topic/golang-nuts/yCgjgpQsbHc/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > golang-nuts+unsubscr...@googlegroups.com > <mailto:golang-nuts+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.