# Functions
AddTags appends a tag to the tags field of ms.
AddTagsWithKey appends a tag to the key field of ms.
MergeFields merges the top-level keys and values in each source map (it does not perform a deep merge).
MergeFieldsDeep recursively merges the keys and values from `from` into `target`, either into ms itself (if underRoot == true) or into ms["fields"] (if underRoot == false).
NewMPointer initializes and returns a pointer to the given M.
Union creates a new M containing the union of the key-value pairs of the two maps.
# Variables
ErrKeyNotFound indicates that the specified key was not found.
# Structs
EventMetadata contains fields and tags that can be added to an event via configuration.
Pointer stores a pointer to atomically get/set a mapstr.M object This should give faster access for use cases with lots of reads and a few changes.
# Type aliases
M is a map[string]interface{} wrapper with utility methods for common map operations like converting to JSON.