Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InternalGoFiles (0.24 sec)

  1. src/cmd/go/internal/generate/generate.go

    			// one .go source file, so the fact that there are no files
    			// implies that the package couldn't be found.
    			base.Errorf("%v", pkg.Error)
    		}
    
    		for _, file := range pkg.InternalGoFiles() {
    			if !generate(file) {
    				break
    			}
    		}
    
    		for _, file := range pkg.InternalXGoFiles() {
    			if !generate(file) {
    				break
    			}
    		}
    	}
    	base.ExitIfErrors()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 29 19:39:24 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    	for i, f := range list {
    		list[i] = filepath.Join(p.Dir, f)
    	}
    	sort.Strings(list)
    	return list
    }
    
    // InternalGoFiles returns the list of Go files being built for the package,
    // using absolute paths.
    func (p *Package) InternalGoFiles() []string {
    	return p.mkAbs(str.StringList(p.GoFiles, p.CgoFiles, p.TestGoFiles))
    }
    
    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