MCPcopy Create free account
hub / github.com/dustinxie/lockfree / Peek

Method Peek

stack.go:34–34  ·  view source on GitHub ↗

return (but not remove) the top item on the stack

()

Source from the content-addressed store, hash-verified

32
33 // return (but not remove) the top item on the stack
34 Peek() interface{}
35 }
36)
37

Callers 1

TestStackFunction · 0.95

Implementers 1

stacklist/stack.go

Calls

no outgoing calls

Tested by 1

TestStackFunction · 0.76