Skip to content

x/pkgsite: "const" declarations with type on right are not grouped with the type #9195

Open
@bcmills

Description

@bcmills
Run the godoc tool on a file such as http://play.golang.org/p/fnp9JT3Ki_.

The constants with types on the left of "=" are grouped with the type.  The
equivalent constants with types on the right are not.

Since the two styles of declaration produce equivalent constants, they should arguably
also produce equivalent documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions