mirror of
https://github.com/golang/go
synced 2024-11-14 08:50:22 -07:00
21 lines
273 B
Go
21 lines
273 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"io"
|
||
|
"log"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
var _ = fmt.Printf // For debugging; delete when done.
|
||
|
var _ io.Reader // For debugging; delete when done.
|
||
|
|
||
|
func main() {
|
||
|
fd, err := os.Open("test.go")
|
||
|
if err != nil {
|
||
|
log.Fatal(err)
|
||
|
}
|
||
|
// TODO: use fd.
|
||
|
_ = fd
|
||
|
}
|