type golang.org/x/pkgsite/internal/source.Info
33 uses
golang.org/x/pkgsite/internal/source (current package)
source.go#L45: type Info struct {
source.go#L53: func (i *Info) RepoURL() string {
source.go#L67: func (i *Info) ModuleURL() string {
source.go#L72: func (i *Info) DirectoryURL(dir string) string {
source.go#L85: func (i *Info) FileURL(pathname string) string {
source.go#L101: func (i *Info) LineURL(pathname string, line int) string {
source.go#L119: func (i *Info) RawURL(pathname string) string {
source.go#L163: func (i *Info) MarshalJSON() (_ []byte, err error) {
source.go#L190: func (i *Info) UnmarshalJSON(data []byte) (err error) {
source.go#L260: func ModuleInfo(ctx context.Context, client *Client, modulePath, version string) (info *Info, err error) {
source.go#L286: info = &Info{
source.go#L301: func newStdlibInfo(version string) (_ *Info, err error) {
source.go#L311: return &Info{
source.go#L373: func moduleInfoDynamic(ctx context.Context, client *Client, modulePath, version string) (_ *Info, err error) {
source.go#L427: return &Info{
source.go#L499: func adjustVersionedModuleDirectory(ctx context.Context, client *Client, info *Info) {
source.go#L821: func NewGitHubInfo(repoURL, moduleDir, commit string) *Info {
source.go#L822: return &Info{
source.go#L833: func NewStdlibInfo(version string) *Info {
golang.org/x/pkgsite/internal
discovery.go#L51: SourceInfo *source.Info
golang.org/x/pkgsite/internal/fetch
load.go#L57: sourceInfo *source.Info, modInfo *godoc.ModuleInfo) (_ *goPackage, err error) {
load.go#L222: func loadPackageForBuildContext(ctx context.Context, files map[string][]byte, innerPath string, sourceInfo *source.Info, modInfo *godoc.ModuleInfo) (
package.go#L51: func extractPackagesFromZip(ctx context.Context, modulePath, resolvedVersion string, r *zip.Reader, d *licenses.Detector, sourceInfo *source.Info) (_ []*goPackage, _ []*internal.PackageVersionState, err error) {
golang.org/x/pkgsite/internal/frontend
goldmark.go#L31: info *source.Info
goldmark.go#L59: info *source.Info
goldmark.go#L67: func newHTMLRenderer(info *source.Info, readme *internal.Readme, opts ...html.Option) renderer.NodeRenderer {
overview.go#L132: func translateLink(dest string, info *source.Info, useRaw bool, readme *internal.Readme) string {
overview.go#L170: func translateHTML(htmlText []byte, info *source.Info, readme *internal.Readme) (_ []byte, err error) {
overview.go#L212: func walkHTML(n *html.Node, info *source.Info, readme *internal.Readme) bool {
readme.go#L71: func processReadme(ctx context.Context, readme *internal.Readme, sourceInfo *source.Info) (_ *Readme, err error) {
golang.org/x/pkgsite/internal/godoc
render.go#L43: func (p *Package) DocInfo(ctx context.Context, innerPath string, sourceInfo *source.Info, modInfo *ModuleInfo) (
render.go#L116: func (p *Package) renderOptions(innerPath string, sourceInfo *source.Info, modInfo *ModuleInfo,
render.go#L189: sourceInfo *source.Info, modInfo *ModuleInfo, nameToVersion map[string]string) (_ *dochtml.Parts, err error) {
 |
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. |