func main() {
	pic.Show(Pic)
}
Exemple #2
0
func main() {
	fmt.Println("Hellow!!! I like Go's install so far!  Very straitforward!")
	pic.Show(gotour.Pic)
}
Exemple #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)
}
Exemple #4
0
func main() {
	// Show() accepts a function name
	pic.Show(Pic)
}
Exemple #5
0
func main() {
	// pic.Show(Pic)
	pic.Show(Pic2)
}
Exemple #6
0
func main() {
	//fmt.Println(Pic(3,4))
	pic.Show(Pic)
}
func main() {
	pic.Show(Pic(power))
}
Exemple #8
0
func main() {
	fmt.Println(Pic(3, 2))
	pic.Show(Pic(3, 2))
}