コード例 #1
0
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
ファイル: slices.go プロジェクト: mechazoidal/exercises
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
ファイル: 36.go プロジェクト: yuta-masano/a_tour_of_go
func main() {
	// pic.Show(Pic)
	pic.Show(Pic2)
}
コード例 #6
0
ファイル: slicepic.go プロジェクト: frenata/personal
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))
}