1
0

context.go 248 B

1234567891011
  1. package honeybadger
  2. // Context is used to send extra data to Honeybadger.
  3. type Context hash
  4. // Update applies the values in other Context to context.
  5. func (context Context) Update(other Context) {
  6. for k, v := range other {
  7. context[k] = v
  8. }
  9. }