Expanded to show subdirectories. But there doesn't seem to have a way to click into https://pkg.go.dev/golang.org/x/benchmarks/sweet . Clicking again it collapsed the subdirectories. (Expansion is okay and probably desirable. But I hope there is also a way to click into that directory.) Sorry for the noise if there is a way that I didn't find. Thanks.
The text was updated successfully, but these errors were encountered:
The x/benchmark/sweet directory is not a go package or a go module root. If the directory has a .go file, the directory entry will become clickable. For example, golang.org/x/tools/blog is both expandable and clickable because it has a child directory AND it is also a valid go package.
Thanks @hyangah ! Didn't know that having no go files is what caused this. Yeah, creating a link would still be helpful. Otherwise it would be harder to get into the sweet page from https://pkg.go.dev/golang.org/x/benchmarks. (I just edited the URL. Another way would be clicking into a subdirectory of sweet then go up a level, which seems a bit convoluted.)