Versions in this module Expand all Collapse all v1 v1.0.2 Apr 1, 2025 v1.0.1 Apr 1, 2025 Changes in this version + type IQueue interface + First func() T + Last func() T + type Queue struct + func NewQueue[T interface{}](length ...int) *Queue[T] + func (q *Queue[T]) AddFirst(v T) *Queue[T] + func (q *Queue[T]) AddLast(v T) *Queue[T] + func (q *Queue[T]) Chan() chan IQueue[T] + func (q *Queue[T]) First() T + func (q *Queue[T]) Last() T