From e2487411cd1b547217d0fc48a20e12df88a43fa5 Mon Sep 17 00:00:00 2001 From: virus Date: Sat, 5 Sep 2020 10:44:03 +0800 Subject: [PATCH] virus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [FIX]更改包地址 --- controller/api/v1/basic/business.go | 2 +- controller/api/v1/basic/meta_database.go | 2 +- controller/api/v1/basic/vendor.go | 2 +- main.go | 4 ++-- pkg/util/pagination.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/controller/api/v1/basic/business.go b/controller/api/v1/basic/business.go index 822406d..ac29b18 100644 --- a/controller/api/v1/basic/business.go +++ b/controller/api/v1/basic/business.go @@ -1,8 +1,8 @@ package basic import ( - "github.com/Unknwon/com" "github.com/astaxie/beego/validation" + "github.com/com" "github.com/gin-gonic/gin" "github.com/viletyy/potato/models/basic" "github.com/viletyy/potato/pkg/e" diff --git a/controller/api/v1/basic/meta_database.go b/controller/api/v1/basic/meta_database.go index 0fc1399..f6c30bc 100644 --- a/controller/api/v1/basic/meta_database.go +++ b/controller/api/v1/basic/meta_database.go @@ -1,7 +1,7 @@ package basic import ( - "github.com/Unknwon/com" + "github.com/com" "github.com/astaxie/beego/validation" "github.com/gin-gonic/gin" "github.com/viletyy/potato/models/basic" diff --git a/controller/api/v1/basic/vendor.go b/controller/api/v1/basic/vendor.go index 38fedf2..9dc5edc 100644 --- a/controller/api/v1/basic/vendor.go +++ b/controller/api/v1/basic/vendor.go @@ -1,8 +1,8 @@ package basic import ( - "github.com/Unknwon/com" "github.com/astaxie/beego/validation" + "github.com/com" "github.com/gin-gonic/gin" "github.com/viletyy/potato/models/basic" "github.com/viletyy/potato/pkg/e" diff --git a/main.go b/main.go index a9cd92e..9d8ed84 100644 --- a/main.go +++ b/main.go @@ -1,10 +1,10 @@ package main import ( + "./pkg/setting" + "./routers" "context" "fmt" - "github.com/viletyy/potato/pkg/setting" - "github.com/viletyy/potato/routers" "log" "net/http" "os" diff --git a/pkg/util/pagination.go b/pkg/util/pagination.go index d449582..ba36698 100644 --- a/pkg/util/pagination.go +++ b/pkg/util/pagination.go @@ -1,7 +1,7 @@ package util import ( - "github.com/Unknwon/com" + "github.com/com" "github.com/viletyy/potato/pkg/setting" "github.com/gin-gonic/gin"