github.com/joshdk/contents (go): Package contents provides functions for extracting and walking the internals of a context.Context. This package imports both reflect and unsafe so use with caution.  Internally, a context can be thought of as a singly-linked list, with a wrapper context holding a reference to the context that it wrapped. At a given level, an additional key:value pair may be attached.  The functions contained within this package care mostly about "Can this context level be unwrapped?" and "Does this context level contain a key?"  This package also contains some functions that compose these two basic operations into helpers.
Keywords: context|golang|reflect