feat:Linux 系统语言设置为英文时支持中文输入法切换

Linux 系统语言设置为英文时支持中文输入法切换
This commit is contained in:
云溪 2024-08-03 08:32:36 +08:00 committed by GitHub
parent 0038092193
commit 63410e8ea3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ var version = "0.0.0"
var gaMeasurementID, gaSecretKey string var gaMeasurementID, gaSecretKey string
func main() { func main() {
os.Setenv("LANG", "zh_CN.UTF-8")
// Create an instance of the app structure // Create an instance of the app structure
sysSvc := services.System() sysSvc := services.System()
connSvc := services.Connection() connSvc := services.Connection()