Skip to content

tour: Clarify wording about exported names page on Go Tour #1732

Description

@nandishofficial

Currently, the sentence reads:

"Pizza is an exported name, as is Pi, which is exported from the math package."

This might confuse readers into thinking both Pizza and Pi are from the math package. Suggesting a minor rewording for clarity:

"In Go, names beginning with a capital letter are exported. For example, Pizza is exported. Another example, exported specifically from the math package, is Pi."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions