mirror of
https://github.com/golang/go
synced 2024-11-22 02:44:39 -07:00
doc/go_faq: fix example.
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/9564044
This commit is contained in:
parent
950fa93531
commit
c912150761
@ -701,7 +701,7 @@ A related example goes the other way:
|
||||
|
||||
<pre>
|
||||
type Opener interface {
|
||||
Open(name) Reader
|
||||
Open() Reader
|
||||
}
|
||||
|
||||
func (t T3) Open() *os.File
|
||||
|
Loading…
Reference in New Issue
Block a user