# Functions
AssertStructValues recursively walks through the given struct and asserts that values are equal to expected values.
BuildString creates a string conisisting of nRunes runes.
BuildStringWith creates a string conisisting of nRunes of the given rune.
DecodeData decodes input from the io.Reader into the given output it skips events with a different type than the given eventType and decodes the first matching event type.
DecodeDataWithReplacement decodes input from the io.Reader and replaces data for the given key with the provided newData before decoding into the output.
DefaultValues returns a Values struct initialized with non-zero values.
InitStructValues iterates through the struct fields represented by the given reflect.Value and initializes all fields with some arbitrary value.
IterateStruct iterates through the struct fields represented by the given reflect.Value and calls the given function on every field.
NonDefaultValues returns a Values struct initialized with non-zero values.
SetStructValues iterates through the struct fields represented by the given reflect.Value and initializes all fields with the provided values.
SetZeroStructValue iterates through the struct fields represented by the given reflect.Value, sets a field to its zero value, calls the callback function and resets the field to its original value.
SetZeroStructValues iterates through the struct fields represented by the given reflect.Value and sets all fields to their zero values.
# Type aliases
SetStructValuesOption is the type of an option which may be passed into SetStructValues to override the value to which a field is set.