code: func setOptions(settings *Settings, options []Option) error {
  	for _, option := range options {
  		if option == nil {
  			return errInvalidOption
  		}
  		err := option(settings)
  		if err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // setOptions sets Optional client settings to the Settings pointer