Example #1
0
// GetGoodLib returns an instance of a good lib
// Same vendor behaviours apply
func GetGoodLib() good_lib.GoodLib {
	return good_lib.NewGoodLib()
}
func main() {
	g := good.NewGoodLib()
	doGood(g)
	og := some.GetGoodLib()
	doGood(og)
}