ci: fixed mockgen not found error.

This commit is contained in:
yunlzheng
2020-03-13 13:21:29 +08:00
parent b9ce4478f4
commit ed88ca198d
+1
View File
@@ -9,6 +9,7 @@ SERVER_IMAGE = kt-connect-server
# generate mock
generate-mock:
GO111MODULE=on go get github.com/golang/mock/mockgen@latest
mkdir -p fake/kt/action
mockgen -source=pkg/kt/command/types.go -destination=fake/kt/action/action_mock.go -package=action
mkdir -p fake/kt/cluster