godocdash
godocdash copied to clipboard
"Type" and "Function" definitions not being generated
I just generated a docset on my system (twice to be sure) and I can't see any "Type" or "Function" entries in the search index. It's documenting 1977 packages/constants/variables, but never any types or functions. I can see types and functions exposed on Package pages when I browse the generated docset.
Execution Environment
- Go version: go1.10.4 linux/amd64 (from
go version) - OS information:
user@hostname MMMMMMMMMMMMMMMMMMMMMMMMMmds+. OS: Mint 18.3 sylvia MMm----::-://////////////oymNMd+` Kernel: x86_64 Linux 4.15.0-48-generic MMd /++ -sNMd: Uptime: 31d 18h 52m MMNso/` dMM `.::-. .-::.` .hMN: Packages: 3344 ddddMMh dMM :hNMNMNhNMNMNh: `NMm Shell: zsh 5.1.1 NMm dMM .NMN/-+MMM+-/NMN` dMM Resolution: 6398x1440 NMm dMM -MMm `MMM dMM. dMM DE: Cinnamon 3.6.7 NMm dMM -MMm `MMM dMM. dMM WM: Muffin NMm dMM .mmd `mmm yMM. dMM WM Theme: Linux Mint (Mint-X) NMm dMM` ..` ... ydm. dMM GTK Theme: Mint-X [GTK2/3] hMM- +MMd/-------...-:sdds dMM Icon Theme: Mint-X-Grey -NMm- :hNMNNNmdddddddddy/` dMM Font: Noto Sans 9 -dMNs-``-::::-------.`` dMM CPU: Intel Core i7-7600U CPU @ 3.9GHz `/dMNmy+/:-------------:/yMMM GPU: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) ./ydNMMMMMMMMMMMMMMMMMMMMM RAM: 5572MiB / 15918MiB \.MMMMMMMMMMMMMMMMMMM - Godoc version: Just installed this morning via
go get(latest) - Godocdash version: Just installed this morning via
go get(latest)
To reproduce:
$ godocdash --silent --name test
$ sqlite3 test.docset/Contents/Resources/docSet.dsidx
SQLite version 3.11.0 2016-02-15 17:29:24
Enter ".help" for usage hints.
sqlite> SELECT COUNT(*) FROM searchIndex;
1977
sqlite> SELECT DISTINCT type FROM searchIndex;
Package
Constant
Variable
@ocket8888 Sorry for the late reply, your issue may be caused by my bug of omitting functions without receivers while grabbing, which is now fixed.
Can you try with latest godocdash?
go get -u github.com/wuudjac/godocdash
If this issue still exists, please show me the output of these commands so that I may reproduce it. Thank you.
go env
find "$GOPATH/src" -maxdepth 3