From 6c5801b7d44e01a49afdc2fed1cfdd2b86d5d570 Mon Sep 17 00:00:00 2001 From: zhangxin Date: Thu, 1 Apr 2021 14:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8json=20"github.com/json-itera?= =?UTF-8?q?tor/go"=20=E4=BB=A3=E6=9B=BFjson?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- grmi/Date.go | 4 ++-- grmi/DateTime.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/grmi/Date.go b/grmi/Date.go index 5f4813c..a100bab 100644 --- a/grmi/Date.go +++ b/grmi/Date.go @@ -2,8 +2,8 @@ package grmi import ( "LAPP_GAAS_GFrame_BACKEND/utils" - "encoding/json" "fmt" + json "github.com/json-iterator/go" "time" ) @@ -34,4 +34,4 @@ func (self *Date) Restore() time.Time { func (self *Date) ToString() string { date := self.Restore() return date.Format(DateOutFormat) -} \ No newline at end of file +} diff --git a/grmi/DateTime.go b/grmi/DateTime.go index 7b0026e..ec0d4f1 100644 --- a/grmi/DateTime.go +++ b/grmi/DateTime.go @@ -2,8 +2,8 @@ package grmi import ( "LAPP_GAAS_GFrame_BACKEND/utils" - "encoding/json" "fmt" + json "github.com/json-iterator/go" "time" )