const golang.org/x/pkgsite/internal.LatestVersion
30 uses
golang.org/x/pkgsite/internal (current package)
discovery.go#L22: LatestVersion = "latest"
golang.org/x/pkgsite/internal/fetch
latest.go#L99: latestInfo, err := prox.Info(ctx, modulePath, internal.LatestVersion)
golang.org/x/pkgsite/internal/frontend
404.go#L93: vm, err := db.GetVersionMap(ctx, fr.goModPath, internal.LatestVersion)
404.go#L100: u := constructUnitURL(fr.goModPath, fr.goModPath, internal.LatestVersion)
404.go#L154: return constructUnitURL(p, p, internal.LatestVersion)
404.go#L167: if requestedVersion != internal.LatestVersion {
breadcrumb.go#L70: if requestedVersion != internal.LatestVersion {
directory.go#L119: URL: constructUnitURL(m.ModulePath, m.ModulePath, internal.LatestVersion),
fetch.go#L111: (stdlib.Contains(urlInfo.fullPath) && urlInfo.requestedVersion == internal.LatestVersion) {
fetch.go#L141: (stdlib.Contains(fullPath) && requestedVersion == internal.LatestVersion) {
fetch.go#L280: if requestedVersion != internal.LatestVersion {
fetch.go#L320: if requestedVersion != internal.LatestVersion {
fetch.go#L329: if version == internal.LatestVersion {
fetch.go#L495: um, err := ds.GetUnitMeta(ctx, fullPath, modulePath, internal.LatestVersion)
search.go#L302: _, err := ds.GetUnitMeta(ctx, requestedPath, internal.UnknownModulePath, internal.LatestVersion)
server.go#L208: if info.requestedVersion == internal.LatestVersion {
unit.go#L168: if info.modulePath == internal.UnknownModulePath && info.requestedVersion == internal.LatestVersion {
unit.go#L193: LatestURL: constructUnitURL(um.Path, um.ModulePath, internal.LatestVersion),
unit.go#L262: if requestedVersion == internal.LatestVersion {
urlinfo.go#L98: requestedVersion: internal.LatestVersion,
urlinfo.go#L108: if endParts[0] == internal.LatestVersion {
urlinfo.go#L153: info.requestedVersion = internal.LatestVersion
urlinfo.go#L213: return requestedVersion == internal.LatestVersion || semver.IsValid(requestedVersion)
golang.org/x/pkgsite/internal/postgres
unit.go#L45: if requestedVersion == internal.LatestVersion {
version.go#L167: um, err := db.GetUnitMeta(gctx, unitPath, internal.UnknownModulePath, internal.LatestVersion)
golang.org/x/pkgsite/internal/proxy
client.go#L187: if requestedVersion == internal.LatestVersion {
golang.org/x/pkgsite/internal/proxydatasource
datasource.go#L201: latestUnitMeta, err = ds.GetUnitMeta(ctx, unitPath, internal.UnknownModulePath, internal.LatestVersion)
datasource.go#L225: info, err := ds.proxyClient.Info(ctx, seriesPath, internal.LatestVersion)
datasource.go#L249: _, err := ds.proxyClient.Info(ctx, query, internal.LatestVersion)
golang.org/x/pkgsite/internal/worker
server.go#L353: return modulePath, internal.LatestVersion, nil
 |
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. |