链接:https://liqiang.io/post/package-static-file-with-golang
链接:https://c.isme.pub/2019/01/10/go-static/
链接:https://blog.csdn.net/banana1006034246/article/details/93103557
链接:https://blog.tmaize.net/posts/2019/04/21/go-web%E9%A1%B9%E7%9B%AE%E6%89%93%E5%8C%85%E4%B8%BA%E4%B8%80%E4%B8%AA%E6%96%87%E4%BB%B6.html
链接:https://www.jianshu.com/p/36d8381ca966
链接:https://studygolang.com/articles/5068
链接:https://www.cnblogs.com/landv/p/11577213.html
demo教程链接:https://blog.csdn.net/zhizhengguan/article/details/104820390
注意!!!
使用
go get -u github.com/jteeuwen/go-bindata/...@master
生成的文件才有RestoreAsset(),AssetInfo()等方法
有疑问加站长微信联系(非本文作者)