pan style="display:flex;"><span><span style="color:#75715e"></span>	<span style="color:#a6e22e">fmt</span>.<span style="color:#a6e22e">Printf</span>(<span style="color:#e6db74">&#34;file ext = %s\n&#34;</span>, <span style="color:#a6e22e">filepath</span>.<span style="color:#a6e22e">Ext</span>(<span style="color:#e6db74">&#34;./main.go&#34;</span>))   <span style="color:#75715e">// 获取文件扩展名
</span></span></span><span style="display:flex;"><span><span style="color:#75715e"></span>
</span></span><