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

Use of hotlinking of Go identifiers #337

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Use of hotlinking of Go identifiers #337

merged 1 commit into from
Aug 31, 2023

Commits on Aug 27, 2023

  1. Use of hotlinking of Go identifiers

    GoDoc now supports hot linking to specific Go identifiers.
    Use that feature to enhance the usability of cmp docs.
    
    Since cmp lacks a direct dependency on cmpopts,
    you are forced to use the fully-qualified import path
    to references identifiers in the cmpopts package.
    
    It can future improvements to the go/doc to handle this case,
    either by rendering the doc with short form,
    or by detecting the use of cmpopts from the unit tests as well
    (since those can break circular dependencies).
    dsnet committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    c4daf5f View commit details
    Browse the repository at this point in the history