code: func WithEndpointBase(endpointBase string) ClientOption {
  	return func(client *Client) error {
  		u, err := url.ParseRequestURI(endpointBase)
  		if err != nil {
  			return err
  		}
  		client.endpointBase = u
  		return nil
  	}
  }
docs: // WithEndpointBase function