golang / gddo

Go Doc Dot Org
https://godoc.org
BSD 3-Clause "New" or "Revised" License
1.1k stars 266 forks source link

Search results for `strings` does not include the `strings` package. #575

Closed dcormier closed 6 years ago

dcormier commented 6 years ago

https://godoc.org/?q=strings results do not include the strings package, though you can go to it directly.

image


Edit: This is also true of searching for bytes.

myitcv commented 6 years ago

I think this is a dup of https://github.com/golang/gddo/issues/573

dcormier commented 6 years ago

Similar. Except searching for http or net/http currently works. Searching for strings still does not.

dcormier commented 6 years ago

Searching for bytes also does not work right now.

dmitshur commented 6 years ago

At the bottom of both strings and bytes packages, there was an error:

image

image

I've refreshed both packages just now (with the currently deployed gddo version), and the no longer exhibit errors:

image

image

Those build errors were causing them to be excluded from the search results. Since the build errors are resolved now, the two packages show up in search:

image

image

Please let me know if you spot this issue again, or if other stdlib packages are affected.

Thanks to @shantuo for help resolving this issue.

Edit: Before #573 was resolved, the crawler was running 1.10 and might've refreshed the packages with errors. It shouldn't happen again because the crawler is on 1.11 now.