规划string转任意类型

This commit is contained in:
2023-05-04 18:40:25 +08:00
parent 3e27982702
commit 8dbec65861
2 changed files with 173 additions and 0 deletions

View File

@@ -42,6 +42,8 @@ var (
Console *console
// Browser 浏览器操作实例
Browser *browser
// StringConvert 字符串转为任意类型
StringConvert *stringConvert
)
func init() {
@@ -70,4 +72,6 @@ func init() {
"linux": "xdg-open",
},
}
// StringConvert
StringConvert = &stringConvert{}
}