package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Dec 21, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package utils diff implements a Diff function that compare two inputs
using the 'diff' tool.
Diff returns diff of two arrays of bytes in diff tool format.
NewStack returns a new Stack.
Get read the value at idx from Stack without modifying the Stack. Return nil, false if idx out of range.
Len returns the length of Stack.
Pop removes and return top element of Stack. Return nil, false if Stack is empty.
func (s *Stack) Push(node interface{})
Push a new value onto the Stack.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.