Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoTurkiye/training
/ Queue
Struct
Queue
301-algorithms/linear-lists/queue/queue.go:5–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
type
MyItem int
4
5
type
Queue
struct
{
6
list []MyItem
7
}
8
9
func
NewQueue() *Queue {
10
return
&Queue{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected