more docs

This commit is contained in:
sm
2017-05-12 13:49:54 -07:00
parent 143767e2b4
commit 8dc7ae519f
+3
View File
@@ -6,6 +6,9 @@ import (
) )
// Lines returns a chan containing one line of output from the remote url. // Lines returns a chan containing one line of output from the remote url.
//
// Lines closes the internal chan after it's fetched all bytes. Errors are not
// propagated.
func Lines(url string) <-chan string { func Lines(url string) <-chan string {
r := make(chan string) r := make(chan string)