mirror of
https://github.com/golang/go
synced 2024-11-23 20:10:08 -07:00
netchan: fix comment typo.
R=adg CC=golang-dev https://golang.org/cl/2204047
This commit is contained in:
parent
0f17173f79
commit
43527e9dbb
@ -162,7 +162,7 @@ func (imp *Importer) Import(name string, chT interface{}, dir Dir) os.Error {
|
||||
// imp, err := NewImporter("tcp", "netchanserver.mydomain.com:1234")
|
||||
// if err != nil { log.Exit(err) }
|
||||
// ch := make(chan myType)
|
||||
// err := imp.ImportNValues("name", ch, Recv, 1)
|
||||
// err = imp.ImportNValues("name", ch, Recv, 1)
|
||||
// if err != nil { log.Exit(err) }
|
||||
// fmt.Printf("%+v\n", <-ch)
|
||||
func (imp *Importer) ImportNValues(name string, chT interface{}, dir Dir, n int) os.Error {
|
||||
|
Loading…
Reference in New Issue
Block a user