Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for XTestGoFiles (0.16 sec)

  1. src/cmd/go/testdata/script/list_load_err.txt

    go list -e -f '{{range .GoFiles}}{{.}},{{end}}' ./constraint
    stdout '^good.go,$'
    go list -e -f '{{range .IgnoredGoFiles}}{{.}},{{end}}' ./constraint
    stdout '^constraint.go,$'
    
    [cgo] go list -e -f '{{range .XTestGoFiles}}{{.}},{{end}}' ./cgotest
    [cgo] stdout '^cgo_test.go,$'
    
    [cgo] go list -e -f '{{range .GoFiles}}{{.}},{{end}}' ./cgoflag
    [cgo] stdout '^cgoflag.go,$'
    
    -- go.mod --
    module m
    
    go 1.14
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 21:46:33 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. src/go/types/gotype.go

    	ctxt := build.Default
    	pkginfo, err := ctxt.ImportDir(dir, 0)
    	if _, nogo := err.(*build.NoGoError); err != nil && !nogo {
    		return nil, err
    	}
    
    	if *xtestFiles {
    		return parseFiles(dir, pkginfo.XTestGoFiles)
    	}
    
    	filenames := append(pkginfo.GoFiles, pkginfo.CgoFiles...)
    	if *testFiles {
    		filenames = append(filenames, pkginfo.TestGoFiles...)
    	}
    	return parseFiles(dir, filenames)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  3. cmd/importverifier/importverifier.go

    	Imports      []string `yaml:",omitempty"` // import paths used by this package
    	TestImports  []string `yaml:",omitempty"` // imports from TestGoFiles
    	XTestImports []string `yaml:",omitempty"` // imports from XTestGoFiles
    }
    
    // ImportRestriction describes a set of allowable import
    // trees for a tree of source code
    type ImportRestriction struct {
    	// BaseDir is the root of a package tree that is restricted by this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:16 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top