mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
feat: remove go-bindata-assetfs in favor of embed by upgrading to go1.16 (#11733)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package browser
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed production/*
|
||||
var fs embed.FS
|
||||
|
||||
// GetStaticAssets returns assets
|
||||
func GetStaticAssets() embed.FS {
|
||||
return fs
|
||||
}
|
||||
Reference in New Issue
Block a user