43 matches across 1 files for func main lang:HTML path:doc/go_mem.html
snippet_mode: auto · sorted by relevance
doc/go_mem.html HTML 43 matches · showing 5 view file →
294<p class="rule">
295If a package <code>p</code> imports package <code>q</code>, the completion of
296<code>q</code>'s <code>init</code> functions happens before the start of any of <code>p</code>'s.
297</p>
298
· · ·
299<p class="rule">
300The completion of all <code>init</code> functions is synchronized before
301the start of the function <code>main.main</code>.
302</p>
· · ·
301the start of the function <code>main.main</code>.
302</p>
303
· · ·
316var a string
317
318func f() {
319 print(a)
320}
· · ·
321
322func hello() {
323 a = "hello, world"
324 go f()
+ 38 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.