Source file tour/methods/exercise-images.go

     1  //go:build nobuild || OMIT
     2  
     3  package main
     4  
     5  import "golang.org/x/tour/pic"
     6  
     7  type Image struct{}
     8  
     9  func main() {
    10  	m := Image{}
    11  	pic.ShowImage(m)
    12  }
    13  

View as plain text