The highest tagged major version is
v3.
package
Version:
v2.9.114
Opens a new window with list of versions in this module.
Published: Feb 4, 2024
License: Apache-2.0
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
¶
NewQueue 队列(先进先出)
PS: 也支持固定队列大小,固定队列大小时队列效率和标准库的channel无异.
使用场景: 该队列是并发安全的,常用于多goroutine数据通信且支持动态队列大小的场景.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.