summaryrefslogtreecommitdiff
path: root/edge/mocks
diff options
context:
space:
mode:
authorXiang Dai <long0dai@foxmail.com>2020-10-21 10:51:08 +0800
committerXiang Dai <long0dai@foxmail.com>2020-11-23 14:28:10 +0800
commit65b5f8bb40f181cd3cbaaad61c94b34ceb26dac9 (patch)
treee8cca5240918ced7c2f3801e2be321a4e6458e69 /edge/mocks
parentMerge pull request #2349 from GsssC/fixKlog (diff)
downloadkubeedge-65b5f8bb40f181cd3cbaaad61c94b34ceb26dac9.tar.gz
CI: enable gci linter
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
Diffstat (limited to 'edge/mocks')
-rw-r--r--edge/mocks/beego/fake_rawseter.go3
-rw-r--r--edge/mocks/edgehub/fake_adapter.go1
2 files changed, 3 insertions, 1 deletions
diff --git a/edge/mocks/beego/fake_rawseter.go b/edge/mocks/beego/fake_rawseter.go
index 290fd3c6d..7c4581eaf 100644
--- a/edge/mocks/beego/fake_rawseter.go
+++ b/edge/mocks/beego/fake_rawseter.go
@@ -6,9 +6,10 @@ package beego
import (
sql "database/sql"
+ reflect "reflect"
+
orm "github.com/astaxie/beego/orm"
gomock "github.com/golang/mock/gomock"
- reflect "reflect"
)
// MockRawSeter is a mock of RawSeter interface
diff --git a/edge/mocks/edgehub/fake_adapter.go b/edge/mocks/edgehub/fake_adapter.go
index d5e511d08..5a8a37275 100644
--- a/edge/mocks/edgehub/fake_adapter.go
+++ b/edge/mocks/edgehub/fake_adapter.go
@@ -8,6 +8,7 @@ import (
"reflect"
"github.com/golang/mock/gomock"
+
"github.com/kubeedge/beehive/pkg/core/model"
)