mirror of
https://github.com/golang/go
synced 2024-11-21 21:14:47 -07:00
9e329a0d16
Also rename the relevant examples and make sure the working one compiles. R=golang-dev, bradfitz, adg, iant, rsc CC=golang-dev https://golang.org/cl/7597043
19 lines
163 B
Go
19 lines
163 B
Go
// skip
|
|
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"io"
|
|
"log"
|
|
"os"
|
|
)
|
|
|
|
func main() {
|
|
fd, err := os.Open("test.go")
|
|
if err != nil {
|
|
log.Fatal(err)
|
|
}
|
|
// TODO: use fd.
|
|
}
|