From 63410e8ea32d080fb497ac9cd08afa7dde438650 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E6=BA=AA?= Date: Sat, 3 Aug 2024 08:32:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:Linux=20=E7=B3=BB=E7=BB=9F=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E8=AE=BE=E7=BD=AE=E4=B8=BA=E8=8B=B1=E6=96=87=E6=97=B6?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E4=B8=AD=E6=96=87=E8=BE=93=E5=85=A5=E6=B3=95?= =?UTF-8?q?=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Linux 系统语言设置为英文时支持中文输入法切换 --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 158da48..084e730 100644 --- a/main.go +++ b/main.go @@ -26,6 +26,7 @@ var version = "0.0.0" var gaMeasurementID, gaSecretKey string func main() { + os.Setenv("LANG", "zh_CN.UTF-8") // Create an instance of the app structure sysSvc := services.System() connSvc := services.Connection()