Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testminio (1.25 sec)

  1. src/cmd/go/internal/load/pkg.go

    //   - is a synthesized "main" package for a test binary, or
    //   - contains only _test.go files.
    func (p *Package) IsTestOnly() bool {
    	return p.ForTest != "" ||
    		p.Internal.TestmainGo != nil ||
    		len(p.TestGoFiles)+len(p.XTestGoFiles) > 0 && len(p.GoFiles)+len(p.CgoFiles) == 0
    }
    
    type PackageInternal struct {
    	// Unexported fields are not part of the public API.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
Back to top