Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ NewQueue
Function
NewQueue
pkg/generic/queue.go:7–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
}
6
7
func
NewQueue[T any]() *Queue[T] {
8
return
&Queue[T]{queue: make([]T, 0)}
9
}
10
11
func
(q *Queue[T]) Push(v T) {
12
q.queue = append(q.queue, v)
Callers
3
NewInMemoryMQ
Function · 0.92
FsRecursiveMove
Function · 0.92
FsRemoveEmptyDirectory
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected