package
Version:
v0.0.5
Opens a new window with list of versions in this module.
Published: Apr 8, 2024
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
¶
type GQueue[T any] struct {
}
func (q *GQueue[T]) Front() *T
Front 获取队列的第一个元素,不移除
func (q *GQueue[T]) Offer(item T)
Offer 入队列
Source Files
¶
Click to show internal directories.
Click to hide internal directories.