github.com/mdempsky/go@v0.0.0-20151201204031-5dd372bd1e70/doc/progs/eff_unused2.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"io"
     6  	"log"
     7  	"os"
     8  )
     9  
    10  var _ = fmt.Printf // For debugging; delete when done.
    11  var _ io.Reader    // For debugging; delete when done.
    12  
    13  func main() {
    14  	fd, err := os.Open("test.go")
    15  	if err != nil {
    16  		log.Fatal(err)
    17  	}
    18  	// TODO: use fd.
    19  	_ = fd
    20  }