type Foo struct {
}
func NewFoo() Foo {
return Foo{}
}
var (
foo = NewFoo()
)
func (self Foo) Bar1 () {
}
func (self Foo) Bar2 () {
}
foo.Bar1()
foo.Bar2()--
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.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.