WithDevContext creates a new context with the dev context
(parent context.Context, devCtx context.Context)
| 50 | |
| 51 | // WithDevContext creates a new context with the dev context |
| 52 | func WithDevContext(parent context.Context, devCtx context.Context) context.Context { |
| 53 | return WithValue(parent, devContextKey, devCtx) |
| 54 | } |
| 55 | |
| 56 | // DevContextFrom returns a context used to start and stop dev configurations |
| 57 | func DevContextFrom(ctx context.Context) (context.Context, bool) { |
no test coverage detected