mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-31 18:10:50 +01:00
fix 编译错误的问题
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user