more docs
This commit is contained in:
parent
143767e2b4
commit
8dc7ae519f
3
fetch.go
3
fetch.go
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user