Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for DocLinkURL (0.18 sec)

  1. src/go/doc/comment/print.go

    	// If HeadingID is nil, h.DefaultID is used.
    	HeadingID func(h *Heading) string
    
    	// DocLinkURL is a function that computes the URL for the given DocLink.
    	// If DocLinkURL is nil, then link.DefaultURL(p.DocLinkBaseURL) is used.
    	DocLinkURL func(link *DocLink) string
    
    	// DocLinkBaseURL is used when DocLinkURL is nil,
    	// passed to [DocLink.DefaultURL] to construct a DocLink's URL.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. src/go/doc/comment/html.go

    			out.WriteString("</i>")
    		case *Link:
    			out.WriteString(`<a href="`)
    			p.escape(out, t.URL)
    			out.WriteString(`">`)
    			p.text(out, t.Text)
    			out.WriteString("</a>")
    		case *DocLink:
    			url := p.docLinkURL(t)
    			if url != "" {
    				out.WriteString(`<a href="`)
    				p.escape(out, url)
    				out.WriteString(`">`)
    			}
    			p.text(out, t.Text)
    			if url != "" {
    				out.WriteString("</a>")
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. src/go/doc/comment/markdown.go

    			out.WriteString("*")
    		case *Link:
    			out.WriteString("[")
    			p.rawText(out, t.Text)
    			out.WriteString("](")
    			out.WriteString(t.URL)
    			out.WriteString(")")
    		case *DocLink:
    			url := p.docLinkURL(t)
    			if url != "" {
    				out.WriteString("[")
    			}
    			p.rawText(out, t.Text)
    			if url != "" {
    				out.WriteString("](")
    				url = strings.ReplaceAll(url, "(", "%28")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:48 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. api/go1.19.txt

    pkg go/doc/comment, type Plain string #51082
    pkg go/doc/comment, type Printer struct #51082
    pkg go/doc/comment, type Printer struct, DocLinkBaseURL string #51082
    pkg go/doc/comment, type Printer struct, DocLinkURL func(*DocLink) string #51082
    pkg go/doc/comment, type Printer struct, HeadingID func(*Heading) string #51082
    pkg go/doc/comment, type Printer struct, HeadingLevel int #51082
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Parser.LookupPackage", Field, 19},
    		{"Parser.LookupSym", Field, 19},
    		{"Parser.Words", Field, 19},
    		{"Plain", Type, 19},
    		{"Printer", Type, 19},
    		{"Printer.DocLinkBaseURL", Field, 19},
    		{"Printer.DocLinkURL", Field, 19},
    		{"Printer.HeadingID", Field, 19},
    		{"Printer.HeadingLevel", Field, 19},
    		{"Printer.TextCodePrefix", Field, 19},
    		{"Printer.TextPrefix", Field, 19},
    		{"Printer.TextWidth", Field, 19},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top