github.com/zach-klippenstein/go@v0.0.0-20150108044943-fcfbeb3adf58/doc/progs/eff_unused1.go (about)

     1  // skip
     2  
     3  package main
     4  
     5  import (
     6  	"fmt"
     7  	"io"
     8  	"log"
     9  	"os"
    10  )
    11  
    12  func main() {
    13  	fd, err := os.Open("test.go")
    14  	if err != nil {
    15  		log.Fatal(err)
    16  	}
    17  	// TODO: use fd.
    18  }