code: func prepareOpts(options ...Option) (Opts, error) {
  	opts := Opts{}
  	for _, option := range options {
  		err := option(&opts)
  		if err != nil {
  			return opts, errors.WithMessage(err, "Failed to read query config opts")
  		}
  	}
  
  	return opts, nil
  }
docs: // prepareOpts Reads channel config options from Option array