-
Notifications
You must be signed in to change notification settings - Fork 2.3k
godoc/server: show internal packages switch #312
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
base: master
Are you sure you want to change the base?
godoc/server: show internal packages switch #312
Conversation
passes the full prepared DirEntry to filter() to enable different filtering for GoRoot and GoPath packages etc. check if the first entry in 'Standard library' should be prefixed by a path while coming from go.mod module
additional flag per command line to show the internal packages per default and not only by '?m=all'. This is only enabled for the 'Standard library' but not 'Third party' identify the go.mod module if running in GOMOD mode. If detected check the RootType based on module path in moduleFS. Last exclude the /cmd/ from modules package view.
respect new flag to show internal packages per default optionl invisible content from third_party path
This PR (HEAD: d0dbf8f) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/313094 to see it. Tip: You can toggle comments from me using the |
Message from Dmitri Shuralyov: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/313094. |
Message from Tom Thomas Freudenberg: Patch Set 3: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/313094. |
Message from Tom Thomas Freudenberg: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/313094. |
Message from Tom Freudenberg: Patch Set 3: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/313094. |
Message from Tom Freudenberg: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/313094. |
Message from Tom Freudenberg: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/313094. |
This PR (HEAD: 33e34eb) has been imported to Gerrit for code review. Please visit https://go-review.googlesource.com/c/tools/+/313094 to see it. Tip: You can toggle comments from me using the |
Message from Dmitri Shuralyov: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/313094. |
Message from Tom Freudenberg: Patch Set 3: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/313094. |
Message from Tom Freudenberg: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/313094. |
Message from Tom Freudenberg: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/313094. |
New command flag
-show_internal_pkg
will show the masterinternal packages in general without url modifier
?m=all
In addition the GOMOD mode is updated to respect the
components inside modules path as GOROOT components.