golang.org/x/pkgsite/internal.ModuleInfo.SourceInfo (field)
18 uses
golang.org/x/pkgsite/internal (current package)
discovery.go#L51: SourceInfo *source.Info
golang.org/x/pkgsite/internal/fetch
fetch.go#L324: SourceInfo: sourceInfo,
fetchlocal.go#L117: fr.Module.SourceInfo = nil // version is not known, so even if info is found it most likely is wrong.
golang.org/x/pkgsite/internal/frontend
doc.go#L39: return docPkg.Render(ctx, innerPath, u.SourceInfo, modInfo, nameToVersion)
doc.go#L51: URL: u.SourceInfo.FileURL(path.Join(internal.Suffix(u.Path, u.ModulePath), f.Name)),
main.go#L182: rm, err := processReadme(ctx, modReadme, um.SourceInfo)
main.go#L213: RepositoryURL: um.SourceInfo.RepoURL(),
main.go#L214: SourceURL: um.SourceInfo.DirectoryURL(internal.Suffix(um.Path, um.ModulePath)),
main.go#L219: ModFileURL: um.SourceInfo.ModuleURL() + "/go.mod",
overview.go#L50: if d := translateLink(string(node.LinkData.Destination), mi.SourceInfo, useRaw, readme); d != "" {
overview.go#L54: d, err := translateHTML(node.Literal, mi.SourceInfo, readme)
readme.go#L68: return processReadme(ctx, u.Readme, u.SourceInfo)
golang.org/x/pkgsite/internal/godoc
render.go#L226: return docPkg.Render(ctx, innerPath, u.SourceInfo, modInfo, nil)
golang.org/x/pkgsite/internal/postgres
details.go#L196: &mi.IsRedistributable, &mi.HasGoMod, jsonbScanner{&mi.SourceInfo}); err != nil {
insert_module.go#L216: sourceInfoJSON, err := json.Marshal(m.SourceInfo)
unit.go#L101: jsonbScanner{&um.SourceInfo},
golang.org/x/pkgsite/internal/testing/sample
sample.go#L283: SourceInfo: source.NewGitHubInfo("https://"+modulePath, "", versionString),
sample.go#L361: SourceInfo: source.NewGitHubInfo("https://"+modulePath, "", version),
 |
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. |