Thanks to visit codestin.com
Credit goes to github.com

Skip to content

x/pkgsite: builtins with lowercase names not searchable #65781

@seebs

Description

@seebs

What is the URL of the page with the issue?

https://pkg.go.dev/search?q=builtin.make&m=symbol

What is your user agent?

firefox

Screenshot

sorry, don't have one handy

What did you do?

search for make on pkg.go.dev

What did you see happen?

results for Make

What did you expect to see?

builtin.make, aka the make function that's part of the base language.

it looks to me like pkg.go.dev is (correctly for EVERY OTHER case) only searching for exported symbols, but for the handful of language builtins (make, min, max, nil, etc) with lowercase names that are predeclared identifiers, this isn't working.

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.pkgsitepkgsite/searchIssues related to pkg.go.dev search functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions