package
Version:
v0.0.0-...-73e22f4
Opens a new window with list of versions in this module.
Published: Apr 4, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Stack is a base structure for LIFO
func (stack *Stack) Peek() interface{}
Peek returns top of a stack without deletion
func (stack *Stack) Pop() interface{}
Deletes top of a stack and return it
func (stack *Stack) Push(item interface{})
Pushes a given item into Stack
type StackItem struct {
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.