mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-05-06 22:12:23 +08:00
17 lines
256 B
Go
17 lines
256 B
Go
//go:build unembed
|
|
|
|
package app
|
|
|
|
import (
|
|
"embed"
|
|
"io/fs"
|
|
)
|
|
|
|
//go:embed i18n.json src/language/* src/language/*/*
|
|
var DistFS embed.FS
|
|
|
|
// GetDistFS returns the embedded filesystem for unembed build
|
|
func GetDistFS() (fs.FS, error) {
|
|
return DistFS, nil
|
|
}
|