package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Mar 12, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
JoinStrings will combine a variadic list of strings into a single string
UniqueID generates a unique id as a string from the unix time stamp and a random 64 bit integer.
ArrayUtil generic functions
func (ac *ArrayUtil) Contains(haystack []interface{}, needle interface{}) bool
Contains function for ArrayUtil to generically see if the "needle" is in
the "haystack" array. Interface types must be the same.
Queue is a simple linked list
CanPop returns whether or not the list is empty
func (q *Queue) Pop() interface{}
Pop returns the head element of the linked list
func (q *Queue) Push(value interface{})
Push pushes an interface item into the linked list
type QueueItem struct {
Value interface{}
}
QueueItem stores an individual element of the linked list
Source Files
¶
Click to show internal directories.
Click to hide internal directories.