84,664 matches across 25 files for func main
snippet_mode: summary · sorted by relevance
src/testing/testing.go GO 289 matches · showing 1 view file →
7// execution of any function of the form
+ 288 more matches in this file
src/runtime/proc.go GO 395 matches · showing 1 view file →
28// The main concepts are:
+ 394 more matches in this file
src/cmd/go/internal/modload/init.go GO 220 matches · showing 1 view file →
5// Package modload provides module and package loading functionality.
+ 219 more matches in this file
src/cmd/compile/internal/ssa/prove.go GO 171 matches · showing 1 view file →
30func (b branch) String() string {
+ 170 more matches in this file
src/runtime/panic.go GO 187 matches · showing 1 view file →
40// defer chain. This chain is inspected by the deferreturn call at all function
+ 186 more matches in this file
src/cmd/go/internal/modload/query.go GO 146 matches · showing 1 view file →
71// The allowed function (which may be nil) is used to filter out unsuitable
+ 145 more matches in this file
src/cmd/go/internal/modload/load.go GO 141 matches · showing 1 view file →
8// functions pertaining to the package import graph.
+ 140 more matches in this file
src/cmd/go/internal/load/pkg.go GO 226 matches · showing 1 view file →
87 DefaultGODEBUG string `json:",omitempty"` // default GODEBUG setting (only for Name=="main")
+ 225 more matches in this file
src/cmd/go/internal/modget/get.go GO 140 matches · showing 1 view file →
138to download imported code. This functionality is critical to the decentralized
+ 139 more matches in this file
src/net/http/internal/http2/transport.go GO 183 matches · showing 1 view file →
76// Inside tests, see the testSyncHooks function docs.
+ 182 more matches in this file
src/cmd/cover/cover.go GO 120 matches · showing 1 view file →
5package main
+ 119 more matches in this file
src/cmd/gofmt/gofmt.go GO 37 matches · showing 1 view file →
5package main
+ 36 more matches in this file
misc/ios/go_ios_exec.go GO 14 matches · showing 1 view file →
7package main
+ 13 more matches in this file
src/cmd/cgo/internal/testplugin/testdata/host/host.go GO 26 matches · showing 1 view file →
5package main
+ 25 more matches in this file
src/cmd/pprof/pprof.go GO 27 matches · showing 1 view file →
10package main
+ 26 more matches in this file
src/cmd/compile/internal/loopvar/testdata/for_complicated_esc_address.go GO 5 matches · showing 1 view file →
5package main
+ 4 more matches in this file
src/net/http/server.go GO 246 matches · showing 1 view file →
148 // Thus explicit calls to WriteHeader are mainly used to
+ 245 more matches in this file
src/cmd/go/internal/modload/buildlist.go GO 115 matches · showing 1 view file →
47 // given module path. The root modules of the graph are the set of main
+ 114 more matches in this file
src/cmd/compile/internal/ir/mknode.go GO 22 matches · showing 1 view file →
10package main
+ 21 more matches in this file
src/crypto/x509/parser.go GO 53 matches · showing 1 view file →
36func isPrintable(b byte) bool {
+ 52 more matches in this file
src/cmd/pack/pack.go GO 17 matches · showing 1 view file →
5package main
+ 16 more matches in this file
src/cmd/go/internal/modload/modfile.go GO 67 matches · showing 1 view file →
32func ReadModFile(gomod string, fix modfile.VersionFixer) (data []byte, f *modfile.File, err error) {
+ 66 more matches in this file
src/crypto/x509/x509.go GO 111 matches · showing 1 view file →
74func ParsePKIXPublicKey(derBytes []byte) (pub any, err error) {
+ 110 more matches in this file
src/cmd/link/internal/benchmark/bench.go GO 9 matches · showing 1 view file →
47// func main() {
+ 8 more matches in this file
src/runtime/pprof/proto.go GO 96 matches · showing 1 view file →
20// lostProfileEvent is the function to which lost profiling
+ 95 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.