Documentation
¶
Overview ¶
Package stack :: stack.go - stack implementations see https://gist.github.com/bemasher/1777766
Package stack :: str.go - a string stack
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
Stack struct
func (*Stack) Peek ¶
func (s *Stack) Peek() interface{}
Peek returns the top of the stack without popping out the item
Click to show internal directories.
Click to hide internal directories.