func New(maxSize int) *Queue {
	return &Queue{
		MaxSize: maxSize,
	}
}
New creates a new queue.
package queue_full
import (
	"errors"
	"sync"
)
var ErrMaxQueueSizeReached = errors.New("queue: maximum queue size reached")