<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Embed on PlumePHP</title><link>https://plumephp.com/tags/embed/</link><description>Recent content in Embed on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 05 Apr 2021 11:30:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/embed/index.xml" rel="self" type="application/rss+xml"/><item><title>go:embed：把文件打包进二进制</title><link>https://plumephp.com/43-go-embed/</link><pubDate>Mon, 05 Apr 2021 11:30:00 +0800</pubDate><guid>https://plumephp.com/43-go-embed/</guid><description>&lt;h1 id="goembed把文件打包进二进制"&gt;go:embed：把文件打包进二进制&lt;/h1&gt;
&lt;p&gt;你有没有遇到过这样的烦恼？&lt;/p&gt;
&lt;p&gt;编译好的 Go 程序发给别人，结果对方说：&amp;ldquo;怎么打开是 404 啊？&amp;rdquo; 你一看，原来是因为 HTML 模板、CSS 文件、图片这些静态资源没有一起打包过去。&lt;/p&gt;</description></item></channel></rss>