func main() {
	pic.Show(Pic)
}
示例#2
0
文件: hello.go 项目: Ropes/GoLearning
func main() {
	fmt.Println("Hellow!!! I like Go's install so far!  Very straitforward!")
	pic.Show(gotour.Pic)
}
示例#3
0
func main() {
	// Note that Show expects a _function itself_ to be passed in, NOT the result of one
	// (looking at the source code, it calls the func with x=256, y=256)
	pic.Show(Pic)
}
示例#4
0
文件: pic.go 项目: tjyang/reference
func main() {
	// Show() accepts a function name
	pic.Show(Pic)
}
示例#5
0
func main() {
	// pic.Show(Pic)
	pic.Show(Pic2)
}
示例#6
0
func main() {
	//fmt.Println(Pic(3,4))
	pic.Show(Pic)
}
示例#7
0
func main() {
	pic.Show(Pic(power))
}
示例#8
0
文件: Slices.go 项目: simbapeer/study
func main() {
	fmt.Println(Pic(3, 2))
	pic.Show(Pic(3, 2))
}