summaryrefslogtreecommitdiff
path: root/packbuilder.go
diff options
context:
space:
mode:
Diffstat (limited to 'packbuilder.go')
-rw-r--r--packbuilder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/packbuilder.go b/packbuilder.go
index 292604d..bcb61a4 100644
--- a/packbuilder.go
+++ b/packbuilder.go
@@ -121,7 +121,7 @@ func (pb *Packbuilder) forEachWrap(data *packbuilderCbData) {
// you want to stop the pack-building process (e.g. there's an error
// writing to the output), close or write a value into the "stop"
// channel.
-func (pb *Packbuilder) ForEach() (data <-chan []byte, stop chan<- bool) {
+func (pb *Packbuilder) ForEach() (<-chan []byte, chan<- bool) {
ch := make(chan []byte)
stop := make(chan bool)
data := packbuilderCbData{ch, stop}