go 编译报错 package embed is not in GOROOT (/usr/local/go/src/embed)


embed 为 golang1.6 的新的内置函数,用于静态资源内嵌。
升级 go 版本 >= 1.6 即可。

相关