You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@javapro108 Yes, this goes against explicit design.
You can get the effect of an absolute path by using the Go module "replace" directive. Specifying the protocol also wouldn't play nicely with modules. Modules are uniquely identified by a URL, but may be fetched from local cache, a proxy, or something else. Specifying a protocol would be counter productive.
Replace seems like solution for local modules but it makes interpretation of import more complicated. On the otherhand complete URL convention does provide flexibility use standard online version and current convention can be used for local copies of the same repo which can be mofied by user.
Its sad to know Go is moving away for compiled library distributions, which can have many corporate/enterprise use cases as well as IP and security concerns.
Please excuse me if this has already been ruled out of design.
Proposal is to:
Before
After
The text was updated successfully, but these errors were encountered: