# README
Advent Of Code Library in Go
The library that I use extensively for my Advent Of Code solutions.
# Functions
Abs returns the absolute value.
DeleteSliceIndex deletes a given index.
DeleteSliceIndices deletes a list of indices.
GreatestCommonDivisor returns the greatest common divisor of two numbers.
InnerMapGet performs a get or init in an inner map.
IntToRune converts an int into a rune.
IsRuneDecimal checks whether a rune is a decimal number.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LeastCommonMultiple returns the least common multiple from a list of numbers.
ManhattanDistance returns the manhattan distance.
No description provided by the author
MapKeysToSlice converts the maps keys to a slice.
No description provided by the author
No description provided by the author
MapValuesToSlice converts the map values to a slice.
Mod returns the modulo.
NewBoard creates a board from a list of positions.
No description provided by the author
No description provided by the author
NewBoardFromReader creates a board from an input reader.
No description provided by the author
NewDAG returns a new DAG.
NewDelimiter creates a new input delimiter logic.
NewHeap creates a new Heap using a comparator.
NewLocation creates a new location.
NewNode returns a new node.
NewPosition creates a new position.
No description provided by the author
ParseBoard parses a board and maps it to a map of Position.
ReaderToInts converts an io.Reader into a slice of strings.
ReaderToString converts an io.Reader into a string.
ReaderToStrings converts an io.Reader into a slice of strings.
RegexpFindAll finds all occurrences of a regexp.
RegexpFindIndices finds all the indices of a regexp.
RegexpFindSubmatches find all submatches and related capturing groups.
RuneToInt converts a rune into an int.
No description provided by the author
No description provided by the author
No description provided by the author
SliceToMap converts a slice into a map.
SliceToSet converts a slice into a set (a map where all the keys are the elements from the slice and the values are true).
StringFindIndices returns all the indices from a given string into a string.
StringGroups returns groups of lines inputs that are not separated by empty lines.
StringsToInts converts a slice of strings to a slice of ints.
StringToInt converts a string into an int.
Substring returns the substring from a given delimiter.
TopologicalSort applies the topological sort algorithm based on vertices and a way to compute the edges.
TryStringToInt tries to convert a string into an int.
WithTrimSpace applies strings.trimSpace on each string.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
DAG is the representation of a directed acyclic graph.
DAGNode is a DAG node.
Delimiter implementation.
Heap is a priority queue implementation.
Location represents a given position and direction.
Node is a linked list node.
No description provided by the author
Position represents a given position (row/col).
No description provided by the author