(ctx context.Context, id string)
| 73 | } |
| 74 | |
| 75 | func SetInstanceID(ctx context.Context, id string) context.Context { |
| 76 | return context.WithValue(ctx, instanceIDKey, id) |
| 77 | } |
| 78 | |
| 79 | func InstanceID(ctx context.Context) string { |
| 80 | elem := ctx.Value(instanceIDKey) |
no outgoing calls
no test coverage detected