1
0
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:
Nigel Tao 2010-09-23 11:32:11 +10:00
parent 0f17173f79
commit 43527e9dbb

View File

@ -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 {