This commit is contained in:
chermack
2026-07-26 00:09:57 +08:00
commit 059be96536
134 changed files with 19678 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package asset
import "embed"
//go:embed trojan-install.sh client.json clash-rules.yaml
var f embed.FS
// GetAsset 获取资源[]byte
func GetAsset(name string) []byte {
data, _ := f.ReadFile(name)
return data
}