From 0af3220226f8abb75f55c342ba9cc82abc9fe751 Mon Sep 17 00:00:00 2001 From: lc-1010 <532398960@qq.com> Date: Sun, 25 Jun 2023 12:36:51 +0800 Subject: [PATCH] (blog): Correct referencing errors This commit corrects the referencing errors #1 --- internal/routers/api/v1/article.go | 3 ++- internal/routers/ping/ping.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/routers/api/v1/article.go b/internal/routers/api/v1/article.go index 73e89ef..f4f03a8 100644 --- a/internal/routers/api/v1/article.go +++ b/internal/routers/api/v1/article.go @@ -2,10 +2,11 @@ package v1 import ( - "blog-server/global" "fmt" "net/http" + "github.com/lc-1010/OneBlogService/global" + "github.com/lc-1010/OneBlogService/internal/model" "github.com/gin-gonic/gin" diff --git a/internal/routers/ping/ping.go b/internal/routers/ping/ping.go index 2f3dfa8..1eab175 100644 --- a/internal/routers/ping/ping.go +++ b/internal/routers/ping/ping.go @@ -1,9 +1,10 @@ package ping import ( - "blog-server/global" "net/http" + "github.com/lc-1010/OneBlogService/global" + "github.com/gin-gonic/gin" )