From 5804709cf90ce8fb80dd8d23628cff1d3efb0951 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Wed, 8 Feb 2023 15:20:47 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E7=BB=A7=E7=BB=AD=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=8C=85=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/test_20_in_mic.go | 2 +- script/test_fruit_machine.go | 2 +- {utils => script/utils}/jwt/jwt.go | 0 {utils => script/utils}/utils.go | 0 {utils => script/utils}/utils_test.go | 2 +- 5 files changed, 3 insertions(+), 3 deletions(-) rename {utils => script/utils}/jwt/jwt.go (100%) rename {utils => script/utils}/utils.go (100%) rename {utils => script/utils}/utils_test.go (83%) diff --git a/script/test_20_in_mic.go b/script/test_20_in_mic.go index 2a53ad1..be4551e 100644 --- a/script/test_20_in_mic.go +++ b/script/test_20_in_mic.go @@ -4,7 +4,7 @@ import ( "fmt" "git.hilo.cn/hilo-common/script/model" "git.hilo.cn/hilo-common/script/mysql" - "git.hilo.cn/hilo-common/utils/jwt" + "git.hilo.cn/hilo-common/script/utils/jwt" "net/http" "strings" "time" diff --git a/script/test_fruit_machine.go b/script/test_fruit_machine.go index 0c34bce..ecb9933 100644 --- a/script/test_fruit_machine.go +++ b/script/test_fruit_machine.go @@ -4,7 +4,7 @@ import ( "fmt" "git.hilo.cn/hilo-common/script/model" "git.hilo.cn/hilo-common/script/mysql" - "git.hilo.cn/hilo-common/utils/jwt" + "git.hilo.cn/hilo-common/script/utils/jwt" "io/ioutil" "math/rand" "net/http" diff --git a/utils/jwt/jwt.go b/script/utils/jwt/jwt.go similarity index 100% rename from utils/jwt/jwt.go rename to script/utils/jwt/jwt.go diff --git a/utils/utils.go b/script/utils/utils.go similarity index 100% rename from utils/utils.go rename to script/utils/utils.go diff --git a/utils/utils_test.go b/script/utils/utils_test.go similarity index 83% rename from utils/utils_test.go rename to script/utils/utils_test.go index bf4c4a2..984772e 100644 --- a/utils/utils_test.go +++ b/script/utils/utils_test.go @@ -1,7 +1,7 @@ package utils import ( - "git.hilo.cn/hilo-common/utils/jwt" + "git.hilo.cn/hilo-common/script/utils/jwt" "testing" ) -- 2.22.0