package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jul 15, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func New[T any]() *dequeue[T]
type Dequeue[T any] interface {
Size() uint
GetAll() []T
PushHead(data T)
PopHead() (T, error)
GetHead() (T, error)
PushTail(data T)
PopTail() (T, error)
GetTail() (T, error)
Clear()
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.