anguage-shell" data-lang="shell"><span style="display:flex;"><span>func init<span style="color:#f92672">()</span> <span style="color:#f92672">{</span>
</span></span><span style="display:flex;"><span>    // <span style="color:#66d9ef">do</span> something
</span></span><span style="display:flex;"><span><span style="color:#f92672">}</span>
</span></span></code></pre></div><h1 id="执行顺序">
  执行顺序
  <a class="anchor" href="#%e6%89%a7%e8%a1%8c%e9%a1%ba%e5%ba%8f">#</a>
</h1>
<p>包的初始化函数�