package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Dec 30, 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 a customsize stack
Empty the stack is empty or not
func (s *Stack) Peek() interface{}
Peek check the top value of the stack
func (s *Stack) Pop() interface{}
Pop get the front data of the queue
func (s *Stack) Push(data interface{})
Push add data to the front of the queue
Size return the queue size
Source Files
¶
Click to show internal directories.
Click to hide internal directories.