From 570d7cc0f7e5dcce5145ecf8992ef7bf2590fe79 Mon Sep 17 00:00:00 2001 From: Yun Date: Sun, 7 Jul 2024 18:17:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8E=B7=E5=8F=96=E9=BB=98?= =?UTF-8?q?=E8=AE=A4code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- langx.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/langx.go b/langx.go index ff3e506..4df21a0 100644 --- a/langx.go +++ b/langx.go @@ -86,3 +86,7 @@ func GetFormat(lang string, key string, arr map[string]string) string { } return str } + +func GetDefaultCode() int { + return l.ops.defaultCode +}