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">
300▶The completion of all <code>init</code> functions is synchronized before
301the start of the function <code>main.main</code>.
302</p>
· · ·
301▶the start of the function <code>main.main</code>.
302</p>
303
· · ·
316var a string
317
318▶func f() {
319 print(a)
320}
· · ·
321
322▶func hello() {
323 a = "hello, world"
324 go f()
+ 38 more matches in this file