Skip to content

Commit

Permalink
Merge pull request #73 from myliu/fix/mliu/missing-parenthesis
Browse files Browse the repository at this point in the history
Add missing parenthesis in HandlerFunc comment
  • Loading branch information
mreiferson committed Aug 11, 2014
2 parents ad1caa0 + 2d17e15 commit f9e6254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type Handler interface {
//
// consumer.AddHandler(nsq.HandlerFunc(func(m *Message) error {
// // handle the message
// })
// }))
type HandlerFunc func(message *Message) error

// HandleMessage implements the Handler interface
Expand Down

0 comments on commit f9e6254

Please sign in to comment.