hashicorp / go-getter

Package for downloading things from a string URL using a variety of protocols.
Mozilla Public License 2.0
1.62k stars 227 forks source link

Custom App Specific Url Options #463

Closed gastraight closed 8 months ago

gastraight commented 8 months ago

Hi Except for loader specific url options is it possible somehow to extend url format with application level specific ones

As I understand getter url is not just a regular one for net/url.Parse? Would be just to slice an url after ? be general safe enough?

Or could it be maybe achieved with custom detector somehow that would transform url extracts the info but doesn't resolve the content it self and bypass it for other loaders?

Thank you

crw commented 8 months ago

Please see https://github.com/hashicorp/go-getter/issues/462#issuecomment-1783397409. Thanks!