feat: remove go-bindata-assetfs in favor of embed by upgrading to go1.16 (#11733)

This commit is contained in:
Max Xu
2021-03-09 03:26:43 +08:00
committed by GitHub
parent ba6930bb13
commit 097e5eba9f
20 changed files with 297 additions and 828 deletions
+11
View File
@@ -0,0 +1,11 @@
package browser
import "embed"
//go:embed production/*
var fs embed.FS
// GetStaticAssets returns assets
func GetStaticAssets() embed.FS {
return fs
}