forked from mirror/client_golang
f34b09877c
This is, sadly, the only way to avoid a breaking change. The cost is that anyone using exemplars has to perform a type assertion. This is, however, a common pattern where interfaces turn out to need additional methods in a stable library or only some implementations can provide the additional methods (AKA "interface upgrade"). Needless to say that in v2 of this library, we'll do things in a more straight forward way. Signed-off-by: beorn7 <beorn@grafana.com> |
||
---|---|---|
.. | ||
random | ||
simple |