golang.org/x/pkgsite/internal.SearchResult.NumResults (field)
9 uses
golang.org/x/pkgsite/internal (current package)
discovery.go#L257: NumResults uint64
golang.org/x/pkgsite/internal/frontend
search.go#L95: numResults = int(dbresults[0].NumResults)
golang.org/x/pkgsite/internal/postgres
search.go#L278: &r.NumImportedBy, &r.Score, &r.NumResults); err != nil {
search.go#L288: if len(results) > 0 && results[0].NumResults > uint64(maxResultCount) {
search.go#L290: r.NumResults = uint64(maxResultCount)
search.go#L333: r.NumResults = uint64(numResults)
search.go#L390: &r.NumImportedBy, pq.Array(&syms), &r.NumResults); err != nil {
search.go#L409: if len(results) > 0 && results[0].NumResults > uint64(maxResultCount) {
search.go#L411: r.NumResults = uint64(maxResultCount)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |