Source file tour/methods/images.go
1 //go:build OMIT 2 3 package main 4 5 import ( 6 "fmt" 7 "image" 8 ) 9 10 func main() { 11 m := image.NewRGBA(image.Rect(0, 0, 100, 100)) 12 fmt.Println(m.Bounds()) 13 fmt.Println(m.At(0, 0).RGBA()) 14 } 15
1 //go:build OMIT 2 3 package main 4 5 import ( 6 "fmt" 7 "image" 8 ) 9 10 func main() { 11 m := image.NewRGBA(image.Rect(0, 0, 100, 100)) 12 fmt.Println(m.Bounds()) 13 fmt.Println(m.At(0, 0).RGBA()) 14 } 15