Skip to content

Commit

Permalink
Merge pull request #5 from pweil-/update-readme
Browse files Browse the repository at this point in the history
update readme example for the abort channel
  • Loading branch information
nl5887 authored May 20, 2017
2 parents a9a81be + a44edee commit b970184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Interface to clamd (clamav daemon). You can use go-clamd to implement virus dete
c := clamd.NewClamd("/tmp/clamd.socket")
reader := bytes.NewReader(clamd.EICAR)
response, err := c.ScanStream(reader)
response, err := c.ScanStream(reader, make(chan bool))
for s := range response {
fmt.Printf("%v %v\n", s, err)
Expand Down

0 comments on commit b970184

Please sign in to comment.