Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go1.16 使用 Embed 嵌入静态资源(视频) #192

Open
cnych opened this issue Feb 18, 2021 · 0 comments
Open

Go1.16 使用 Embed 嵌入静态资源(视频) #192

cnych opened this issue Feb 18, 2021 · 0 comments

Comments

@cnych
Copy link
Owner

cnych commented Feb 18, 2021

https://www.qikqiak.com/post/go1.16-embed/

go1.16 版本已经 release 了,推出了一些新功能特性,其中有一个 embed 的新功能,通过 embed 可以将静态资源文件直接打包到二进制文件中,这样当我们部署 Web 应用的时候就特别方便了,只需要构建成一个二进制文件即可,以前也有一些第三方的工具包可以支持这样的操作,但是毕竟不是官方的。接下来我们就来为大家简单介绍下 embed 功能的基本使用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant