de> 目录</li>
<li>执行命令 <code>go mod init helloworld</code></li>
</ul>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-shell" data-lang="shell"><span style="display:flex;"><span><span style="color:#75715e"># 输出如下</span>
</span></span><span style="display:flex;"><span>go: creating new go.mod: module helloworld
</span></span><span style="display:flex;"><span>go: to add module requirements a