fix 编译错误的问题

This commit is contained in:
陈景阳
2019-09-30 19:24:35 +08:00
parent 0aa7d581b2
commit 6fbae93545

View File

@@ -1,6 +1,7 @@
package mock package mock
import ( import (
"crawlab/entity"
"crawlab/model" "crawlab/model"
"crawlab/services" "crawlab/services"
"github.com/apex/log" "github.com/apex/log"
@@ -97,14 +98,14 @@ var dataList = []services.Data{
}, },
} }
var executeble = []model.Executable{ var executeble = []entity.Executable{
{ {
Path: "/test", Path: "/test",
FileName: "test.py", FileName: "test.py",
DisplayName: "test.py", DisplayName: "test.py",
}, },
} }
var systemInfo = model.SystemInfo{ARCH: "x86", var systemInfo = entity.SystemInfo{ARCH: "x86",
OS: "linux", OS: "linux",
Hostname: "test", Hostname: "test",
NumCpu: 4, NumCpu: 4,