- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for MultiplePackageError (0.28 sec)
-
src/cmd/go/internal/modcmd/vendor.go
// TODO above. var multiplePackageError *build.MultiplePackageError var noGoError *build.NoGoError if err != nil { if errors.As(err, &noGoError) { return // No source files in this package are built. Skip embeds in ignored files. } else if !errors.As(err, &multiplePackageError) { // multiplePackageErrors are OK, but others are not.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 14:19:59 UTC 2024 - 14.5K bytes - Viewed (0) -
src/go/build/build.go
} // MultiplePackageError describes a directory containing // multiple buildable Go source files for multiple packages. type MultiplePackageError struct { Dir string // directory containing files Packages []string // package names found Files []string // corresponding files: Files[i] declares package Packages[i] } func (e *MultiplePackageError) Error() string {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62.3K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
// order. Instead of resolving p.Name arbitrarily, we should clear out the // existing Name and mark the existing files as also invalid. badGoFile(name, &MultiplePackageError{ Dir: p.Dir, Packages: []string{p.Name, pkg}, Files: []string{firstFile, name}, }) } // Grab the first package comment as docs, provided it is not from a test file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"ImportComment", Const, 4}, {"ImportDir", Func, 0}, {"ImportMode", Type, 0}, {"IsLocalImport", Func, 0}, {"MultiplePackageError", Type, 4}, {"MultiplePackageError.Dir", Field, 4}, {"MultiplePackageError.Files", Field, 4}, {"MultiplePackageError.Packages", Field, 4}, {"NoGoError", Type, 0}, {"NoGoError.Dir", Field, 0}, {"Package", Type, 0}, {"Package.AllTags", Field, 2},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)