Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add type to use as keys for values attached to the BackgroundActivity…
…Context go lint rules error out if the type of the key passed to context.WithValue is a basic type. The official golang documentation for context also provides an example of using strongly typed keys: https://blog.golang.org/context#TOC_3.2. This change provides a type in the Cadence client library that can be used to attach data to the BackgroundActivityContext.
- Loading branch information