ClearStackValues returns a context without any stack values.
(ctx context.Context)
| 18 | |
| 19 | // ClearStackValues returns a context without any stack values. |
| 20 | func ClearStackValues(ctx context.Context) context.Context { |
| 21 | return context.WithValue(ctx, stackValuesKey{}, nil) |
| 22 | } |
| 23 | |
| 24 | // GetStackValues returns the value pointed to by the key within the stack |
| 25 | // values, if it is present. |
no outgoing calls