more docs

This commit is contained in:
Stephen McQuay 2017-05-12 13:49:54 -07:00
parent 143767e2b4
commit 8dc7ae519f
No known key found for this signature in database
GPG Key ID: 1ABF428F71BAFC3D
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ import (
)
// 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 {
r := make(chan string)