config.Request should extend request.Request and add the BaseUrl and Path fields. These are only used for configuration and not for making the actual requests so they belong in the config package.
config.Request should extend request.Request and add the BaseUrl and Path fields.
These are only used for configuration and not for making the actual requests so they belong in the config package.