code: func newExecutor(opts ...executorOption) *executor {
  	e := &executor{
  		client: newNopInternalQueryClient(),
  	}
  	for _, opt := range opts {
  		err := opt(e)
  		if err != nil {
  			panic(err)
  		}
  	}
  	return e
  }
docs: // newExecutor returns a new instance of Executor.