From e1b443983040a4d02eebf6d72e90bf08b6e8d7a9 Mon Sep 17 00:00:00 2001 From: tzwang Date: Thu, 5 Dec 2024 22:06:15 +0800 Subject: [PATCH] updated imports --- apis/image.go | 4 ++-- apis/repo.go | 4 ++-- apis/task.go | 4 ++-- apis/test.go | 2 +- apis/user.go | 4 ++-- err/handler.go | 2 +- router/router.go | 6 +++--- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/apis/image.go b/apis/image.go index 1c45f18..a3f279b 100644 --- a/apis/image.go +++ b/apis/image.go @@ -2,9 +2,9 @@ package apis import ( "github.com/gin-gonic/gin" + "gitlink.org.cn/JointCloud/pcm-openi/common" + "gitlink.org.cn/JointCloud/pcm-openi/model" "net/http" - "pcm-openi/common" - "pcm-openi/model" ) func GetImageRecommended(ctx *gin.Context) { diff --git a/apis/repo.go b/apis/repo.go index 5635af9..d4a56a0 100644 --- a/apis/repo.go +++ b/apis/repo.go @@ -2,9 +2,9 @@ package apis import ( "github.com/gin-gonic/gin" + "gitlink.org.cn/JointCloud/pcm-openi/common" + "gitlink.org.cn/JointCloud/pcm-openi/model" "net/http" - "pcm-openi/common" - "pcm-openi/model" ) func GetRepos(ctx *gin.Context) { diff --git a/apis/task.go b/apis/task.go index 634c8dd..24d11c4 100644 --- a/apis/task.go +++ b/apis/task.go @@ -2,9 +2,9 @@ package apis import ( "github.com/gin-gonic/gin" + "gitlink.org.cn/JointCloud/pcm-openi/common" + "gitlink.org.cn/JointCloud/pcm-openi/model" "net/http" - "pcm-openi/common" - "pcm-openi/model" ) func GetTaskCreationRequired(ctx *gin.Context) { diff --git a/apis/test.go b/apis/test.go index f0d2afd..91c51b5 100644 --- a/apis/test.go +++ b/apis/test.go @@ -2,7 +2,7 @@ package apis import ( "github.com/gin-gonic/gin" - "pcm-openi/model" + "gitlink.org.cn/JointCloud/pcm-openi/model" ) type TestApi struct { diff --git a/apis/user.go b/apis/user.go index 6afed6a..d5ba041 100644 --- a/apis/user.go +++ b/apis/user.go @@ -2,8 +2,8 @@ package apis import ( "github.com/gin-gonic/gin" - "pcm-openi/common" - "pcm-openi/model" + "gitlink.org.cn/JointCloud/pcm-openi/common" + "gitlink.org.cn/JointCloud/pcm-openi/model" ) func GetUserInfo(ctx *gin.Context) { diff --git a/err/handler.go b/err/handler.go index 1ec5f28..ede6cd2 100644 --- a/err/handler.go +++ b/err/handler.go @@ -2,8 +2,8 @@ package err import ( "fmt" + "gitlink.org.cn/JointCloud/pcm-openi/model" "net/http" - "pcm-openi/model" "strings" "unicode" diff --git a/router/router.go b/router/router.go index 360131f..fd1b070 100644 --- a/router/router.go +++ b/router/router.go @@ -3,9 +3,9 @@ package router import ( "fmt" "github.com/gin-gonic/gin" - "pcm-openi/apis" - "pcm-openi/config" - "pcm-openi/err" + "gitlink.org.cn/JointCloud/pcm-openi/apis" + "gitlink.org.cn/JointCloud/pcm-openi/config" + "gitlink.org.cn/JointCloud/pcm-openi/err" "regexp" "time" )