Documentation
¶
Overview ¶
Package stack provides a simple Stack container.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stack ¶
type Stack[T any] struct { // contains filtered or unexported fields }
Stack represents a simple generic Stack. The zero value is an empty stack ready to use. A Stack is not thread safe.
Click to show internal directories.
Click to hide internal directories.