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