The highest tagged major version is
v5.
package
Version:
v4.0.4
Opens a new window with list of versions in this module.
Published: Aug 4, 2021
License: Apache-2.0
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
¶
Return the number of items in the stack
func (this *Stack) Peek() interface{}
View the top item on the stack
func (this *Stack) Pop() interface{}
Pop the top item of the stack and return it
func (this *Stack) Push(value interface{})
Push a value onto the top of the stack
Source Files
¶
Click to show internal directories.
Click to hide internal directories.