Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,325 for DoC (0.04 sec)

  1. src/cmd/go/internal/doc/doc.go

    	go doc cmd/doc
    		Show package docs for the doc command.
    	go doc -cmd cmd/doc
    		Show package docs and exported symbols within the doc command.
    	go doc template.new
    		Show documentation for html/template's New function.
    		(html/template is lexically before text/template)
    	go doc text/template.new # One argument
    		Show documentation for text/template's New function.
    	go doc text/template new # Two arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  2. src/go/doc/comment/doc.go

    use a [Parser]:
    
    	var p comment.Parser
    	doc := p.Parse(text)
    
    The result is a [*Doc].
    To reformat it as a doc comment, HTML, Markdown, or plain text,
    use a [Printer]:
    
    	var pr comment.Printer
    	os.Stdout.Write(pr.Text(doc))
    
    The [Parser] and [Printer] types are structs whose fields can be
    modified to customize the operations.
    For details, see the documentation for those types.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 19:05:57 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. src/go/printer/testdata/doc.input

    package p
    
    /*
    Doc comment.
      - List1.
    
      - List2.
    */
    var X int
    
    /* erroneous doc comment */
    var Y int
    
    /*
     * Another erroneous
     * doc comment.
     */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 159 bytes
    - Viewed (0)
  4. src/go/printer/testdata/doc.golden

    package p
    
    /*
    Doc comment.
    
      - List1.
    
      - List2.
    */
    var X int
    
    /* erroneous doc comment */
    var Y int
    
    /*
     * Another erroneous
     * doc comment.
     */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 160 bytes
    - Viewed (0)
  5. src/go/doc/doc.go

    // license that can be found in the LICENSE file.
    
    // Package doc extracts source code documentation from a Go AST.
    package doc
    
    import (
    	"fmt"
    	"go/ast"
    	"go/doc/comment"
    	"go/token"
    	"strings"
    )
    
    // Package is the documentation for an entire package.
    type Package struct {
    	Doc        string
    	Name       string
    	ImportPath string
    	Imports    []string
    	Filenames  []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/doc.txt

    # go doc --help
    ! go doc --help
    stderr 'go doc'
    stderr 'go doc <pkg>'
    stderr 'go doc <sym>\[\.<methodOrField>\]'
    stderr 'go doc \[<pkg>\.\]<sym>\[\.<methodOrField>\]'
    stderr 'go doc \[<pkg>\.\]\[<sym>\.\]<methodOrField>'
    stderr 'go doc <pkg> <sym>\[\.<methodOrField>\]'
    
    # go help doc
    go help doc
    stdout 'go doc'
    stdout 'go doc <pkg>'
    stdout 'go doc <sym>\[\.<methodOrField>\]'
    stdout 'go doc \[<pkg>\.\]<sym>\[\.<methodOrField>\]'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 18 17:57:19 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  7. src/runtime/race/doc.go

    // license that can be found in the LICENSE file.
    
    // Package race implements data race detection logic.
    // No public interface is provided.
    // For details about the race detector see
    // https://golang.org/doc/articles/race_detector.html
    package race
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 21:38:55 UTC 2022
    - 386 bytes
    - Viewed (0)
  8. src/cmd/asm/doc.go

    the main variation having to do with addressing modes. Input is
    run through a simplified C preprocessor that implements #include,
    #define, #ifdef/endif, but not #if or ##.
    
    For more information, see https://golang.org/doc/asm.
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:46:45 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. src/cmd/link/doc.go

    		which may be set by the -extld option.
    		Set to "none" to use no support library.
    	-linkmode mode
    		Set link mode (internal, external, auto).
    		This sets the linking mode as described in cmd/cgo/doc.go.
    	-linkshared
    		Link against installed Go shared libraries (experimental).
    	-memprofile file
    		Write memory profile to file.
    	-memprofilerate rate
    		Set runtime.MemProfileRate to rate.
    	-msan
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/loopclosure/doc.go

    // statements that might render the reference benign.
    // ("Last statement" is defined recursively in compound
    // statements such as if, switch, and select.)
    //
    // See: https://golang.org/doc/go_faq.html#closures_and_goroutines
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top