Explorar el Código

Trivial formatting

Evan Huus hace 10 años
padre
commit
09089ab65e
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      queue.go

+ 3 - 1
queue.go

@@ -17,7 +17,9 @@ type Queue struct {
 
 // New constructs and returns a new Queue.
 func New() *Queue {
-	return &Queue{buf: make([]interface{}, minQueueLen)}
+	return &Queue{
+		buf: make([]interface{}, minQueueLen),
+	}
 }
 
 // Length returns the number of elements currently stored in the queue.