 data-lang="shell"><span style="display:flex;"><span><span style="color:#75715e"># 语法规则: </span>
</span></span><span style="display:flex;"><span><span style="color:#75715e"># 升级次级或补丁版本号</span>
</span></span><span style="display:flex;"><span>go get -u 包名@版本号
</span></span><span style="display:flex;"><span><span style="color:#75715e"># 仅升级补丁版本号</span>
</span></span><span style="display:flex;"><span>go get -u<span style="color:#f92672">=</span>patch 包名@