75,056 matches across 25 files for func main lang:Go
snippet_mode: summary · sorted by relevance
src/cmd/go/internal/modload/init.go GO 216 matches · showing 1 view file →
5// Package modload provides module and package loading functionality.
+ 215 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/compile/internal/ssacompile/prove.go GO 135 matches · showing 1 view file →
32func (b branch) String() string {
+ 134 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 144 matches · showing 1 view file →
8// functions pertaining to the package import graph.
+ 143 more matches in this file
src/cmd/go/internal/modget/get.go GO 139 matches · showing 1 view file →
138to download imported code. This functionality is critical to the decentralized
+ 138 more matches in this file
src/testing/testing.go GO 291 matches · showing 1 view file →
7// execution of any function of the form
+ 290 more matches in this file
src/net/http/internal/http2/transport.go GO 194 matches · showing 1 view file →
76// Inside tests, see the testSyncHooks function docs.
+ 193 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/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/crypto/x509/parser.go GO 53 matches · showing 1 view file →
37func isPrintable(b byte) bool {
+ 52 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/net/http/server.go GO 243 matches · showing 1 view file →
148 // Thus explicit calls to WriteHeader are mainly used to
+ 242 more matches in this file
src/crypto/x509/x509.go GO 111 matches · showing 1 view file →
76func ParsePKIXPublicKey(derBytes []byte) (pub any, err error) {
+ 110 more matches in this file
src/archive/tar/reader.go GO 51 matches · showing 1 view file →
39func NewReader(r io.Reader) *Reader {
+ 50 more matches in this file
src/net/lookup.go GO 81 matches · showing 1 view file →
42 "domain": 53,
+ 80 more matches in this file
src/cmd/go/internal/modload/import.go GO 64 matches · showing 1 view file →
38 // modRoot is dependent on the value of ImportingMainModule and should be
+ 63 more matches in this file
src/cmd/go/internal/work/exec.go GO 146 matches · showing 1 view file →
57func actionList(root *Action) []*Action {
+ 145 more matches in this file
src/os/user/lookup_windows.go GO 71 matches · showing 1 view file →
17func isDomainJoined() (bool, error) {
+ 70 more matches in this file
src/cmd/compile/internal/types2/resolver.go GO 48 matches · showing 1 view file →
19// A declInfo describes a package-level const, type, var, or func declaration.
+ 47 more matches in this file
src/net/http/cookiejar/jar.go GO 78 matches · showing 1 view file →
25// PublicSuffixList provides the public suffix of a domain. For example:
+ 77 more matches in this file
src/go/types/resolver.go GO 49 matches · showing 1 view file →
20// A declInfo describes a package-level const, type, var, or func declaration.
+ 48 more matches in this file
src/net/mail/message.go GO 68 matches · showing 1 view file →
39func (d debugT) Printf(format string, args ...any) {
+ 67 more matches in this file
src/cmd/go/internal/list/list.go GO 55 matches · showing 1 view file →
80 DefaultGODEBUG string // default GODEBUG setting, for main packages
+ 54 more matches in this file
src/crypto/x509/constraints.go GO 55 matches · showing 1 view file →
17// This file contains the data structures and functions necessary for
+ 54 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.