package
Version:
v0.9.0
Opens a new window with list of versions in this module.
Published: Aug 12, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type FiFo[T any] struct {
}
func (q *FiFo) GetLength() uint64
func (q *FiFo[T]) Insert(items ...*T)
func (q *FiFo) Pop() (*T, error)
type LiFo[T any] struct {
}
func (q *LiFo) GetLength() uint64
func (q *LiFo[T]) Insert(items ...*T)
func (q *LiFo) Pop() (*T, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.