Documentation ¶
Overview ¶
Package stack implement a simple fix size FIFO stack
Index ¶
Constants ¶
View Source
const (
Default_Stack_Size = 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
a fixed size FIFO stack
func (*Stack) GetBottom ¶
func (s *Stack) GetBottom() interface{}
Get the item at the bottom of stack
Click to show internal directories.
Click to hide internal directories.