package
Version:
v0.0.0-...-a7c7adb
Opens a new window with list of versions in this module.
Published: Sep 3, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Queue[T any] struct {
}
func (q *Queue[T]) Put(value T)
Put 将数据放入队列尾部
type QueueInterface[T any] interface {
Put(value T)
Pop() (T, bool)
Size() int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.