fix some typo (#677)

This commit is contained in:
heyanfu
2021-05-10 00:09:00 +08:00
committed by GitHub
parent 8478474f7f
commit a5962f677f
7 changed files with 8 additions and 8 deletions

View File

@@ -71,7 +71,7 @@ func NewQueue(producerFactory ProducerFactory, consumerFactory ConsumerFactory)
return q
}
// AddListener adds a litener to q.
// AddListener adds a listener to q.
func (q *Queue) AddListener(listener Listener) {
q.listeners = append(q.listeners, listener)
}