Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EmbedPatterns (1.54 sec)

  1. src/embed/embed.go

    //
    //	template.ParseFS(content, "*.tmpl")
    //
    // # Tools
    //
    // To support tools that analyze Go packages, the patterns found in //go:embed lines
    // are available in “go list” output. See the EmbedPatterns, TestEmbedPatterns,
    // and XTestEmbedPatterns fields in the “go help list” output.
    package embed
    
    import (
    	"errors"
    	"internal/bytealg"
    	"internal/stringslite"
    	"io"
    	"io/fs"
    	"time"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/read.go

    				embedMap[e.pattern] = append(embedMap[e.pattern], e.position)
    			}
    		}
    		if directives != nil {
    			*directives = append(*directives, tf.directives()...)
    		}
    	}
    
    	p.EmbedPatterns, p.EmbedPatternPos = cleanDecls(embedPos)
    	p.TestEmbedPatterns, p.TestEmbedPatternPos = cleanDecls(testEmbedPos)
    	p.XTestEmbedPatterns, p.XTestEmbedPatternPos = cleanDecls(xTestEmbedPos)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top