226 matches across 1 files for func main path:src/cmd/go/internal/load/pkg.go
snippet_mode: auto · sorted by relevance
src/cmd/go/internal/load/pkg.go GO 226 matches · showing 5 view file →
85 Incomplete bool `json:",omitempty"` // was there an error loading this package or dependencies?
86
87 DefaultGODEBUG string `json:",omitempty"` // default GODEBUG setting (only for Name=="main")
88
89 // Stale and StaleReason remain here *only* for the list command.
· · ·
89 // Stale and StaleReason remain here *only* for the list command.
90 // They are only initialized in preparation for list execution.
91 // The regular build determines staleness on the fly during action execution.
· · ·
152// The go/build package filtered others out (like foo_wrongGOARCH.s)
153// and that's OK.
154func (p *Package) AllFiles() []string {
155 files := str.StringList(
156 p.GoFiles,
· · ·
196
197// Desc returns the package "description", for use in b.showOutput.
198func (p *Package) Desc() string {
199 if p.ForTest != "" {
200 return p.ImportPath + " [" + p.ForTest + ".test]"
· · ·
201 }
202 if p.Internal.ForMain != "" {
203 return p.ImportPath + " [" + p.Internal.ForMain + "]"
204 }
+ 221 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.