Discover Packages
github.com/google/gapid
core
context
keys
package
Version:
v1.7.0-dev-20190911
Opens a new window with list of versions in this module.
Published: Sep 11, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 93
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package keys holds code for managing the set of common keys in a context.
Chain adds a new link to a value chain for the specified key.
Clone copies values from one context to another.
This is used to produce associated but detached contexts.
Get returns the list of potential keys to use.
WithValue registers the key as well as adding the value to the context.
type Link struct {
Value interface{}
Next *Link
}
Link is the type for a link in a chain of values.
This is used for values where you want to maintain the full list of values stored
against that key, rather than just the most recently assigned value.
Format implements fmt.Formatter to print the full value chain.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.