| 15 | var ErrEmptyDequeue = errors.New("DoublyEnded queue is empty, so can't perform this operation") |
| 16 | |
| 17 | type DoublyEndedQueue[T any] struct { |
| 18 | deque []T |
| 19 | } |
| 20 | |
| 21 | // New returns a new DoublyEndedQueue. |
| 22 | func New[T any]() *DoublyEndedQueue[T] { |
nothing calls this directly
no outgoing calls
no test coverage detected