# Functions
FieldValueExists uses reflection to check if any fields with the given name have the given value The is heavily adapted from https://stackoverflow.com/a/38407429.
IsInSlice checks if a string is in a slice.
MapToList will change a map to a list.
Must panics if the passed error is not nil
The purpose of this function is ignoring error checking when writing tests and only tests.
RemoveDuplicateFromSlice removes duplicate values from a slice.
ToPointer returns a pointer to the given value.
ToValue returns the value pointed by the given pointer.
UpperFirstLetter returns the given string with the first letter in uppercase.