Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xAX/go-algorithms
/ StackItem
Struct
StackItem
stack/stack.go:3–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
package
stack
2
3
type
StackItem
struct
{
4
item
interface
{}
5
next *StackItem
6
}
7
8
// Stack is a base structure for LIFO
9
type
Stack
struct
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected