示例#1
0
func main() {
	fmt.Println("main.main()")
	fmt.Println("main: a.A ==", a.A)
	fmt.Println("main: a.Inc() ==", a.Inc())
	fmt.Println("main: b.B ==", b.B)
	fmt.Println("main: c.C ==", c.C)
}
示例#2
0
func init() {
	fmt.Println("Init package c")
	fmt.Println("c: C ==", C)
	fmt.Println("c: a.A ==", a.A)
	fmt.Println("c: a.Inc() ==", a.Inc())
}