mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-02-01 18:20:17 +01:00
refactor: reorder fields in Spider struct for improved readability
This commit is contained in:
@@ -30,7 +30,6 @@ type Spider struct {
|
|||||||
Cmd string `json:"cmd" bson:"cmd"` // execute command
|
Cmd string `json:"cmd" bson:"cmd"` // execute command
|
||||||
Param string `json:"param" bson:"param"` // default task param
|
Param string `json:"param" bson:"param"` // default task param
|
||||||
Priority int `json:"priority" bson:"priority"`
|
Priority int `json:"priority" bson:"priority"`
|
||||||
AutoInstall bool `json:"auto_install" bson:"auto_install"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type SpiderTemplateParams struct {
|
type SpiderTemplateParams struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user