Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

enhancement: optimise local fast-path #4

Open
myitcv opened this issue Oct 23, 2018 · 0 comments
Open

enhancement: optimise local fast-path #4

myitcv opened this issue Oct 23, 2018 · 0 comments

Comments

@myitcv
Copy link
Owner

myitcv commented Oct 23, 2018

We can optimise the path where -g is not provided.

There are a few nice edge cases in this, hence why it's not implemented from the off 😄

Notes:

  • The main package might not be the module path, so we need to search up the path for the module
  • Need to encode main package paths
  • Search the gobin cache for the provided main package
  • If that fails, search $GOPATH/pkg/mod
  • Need to do version resolution, including "latest" semantics
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant