code: func newContext(t time.Duration) context.Context {
  	ctx := context.Background()
  	if t > 0 {
  		ctx, _ = context.WithTimeout(ctx, t)
  	}
  	return ctx
  }
docs: // newContext returns a new context with timeout t if t > 0.