Package list golang-gopkg-eapache-queue.v1 / 09089ab
Trivial formatting Evan Huus 6 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1616
1717 // New constructs and returns a new Queue.
1818 func New() *Queue {
19 return &Queue{buf: make([]interface{}, minQueueLen)}
19 return &Queue{
20 buf: make([]interface{}, minQueueLen),
21 }
2022 }
2123
2224 // Length returns the number of elements currently stored in the queue.