Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modfetch: GetPkg use lookupListFromCache #31

Merged
merged 1 commit into from
Dec 9, 2023
Merged

Conversation

visualfc
Copy link
Member

@visualfc visualfc commented Dec 7, 2023

fix goplus/gop#1346

  • Get: go install change go get
  • GetPkg: use pkgpath by list, support github.com/my/pkg/v2/sub@ver mode
- check github.com/my/pkg/v2/sub@ver by list from GOMODCACHE
  github.com/my/pkg/v2/sub@ver
  github.com/my/pkg/v2@ver + check dir sub
  github.com/my/pkg@ver + check dir v2/sub
  • support pkg@latest

Copy link

codecov bot commented Dec 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (10181f6) 100.00% compared to head (02d015f) 100.00%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #31   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          392       392           
=========================================
  Hits           392       392           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xushiwei xushiwei merged commit f6a1f30 into goplus:main Dec 9, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enquiry: gop get command sometimes reports an error
2 participants