Trivial formatting
Evan Huus
8 years ago
16 | 16 |
|
17 | 17 |
// New constructs and returns a new Queue.
|
18 | 18 |
func New() *Queue {
|
19 | |
return &Queue{buf: make([]interface{}, minQueueLen)}
|
|
19 |
return &Queue{
|
|
20 |
buf: make([]interface{}, minQueueLen),
|
|
21 |
}
|
20 | 22 |
}
|
21 | 23 |
|
22 | 24 |
// Length returns the number of elements currently stored in the queue.
|