mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
新增蓝图执行代码
This commit is contained in:
11
util/blueprint/blueprint.go
Normal file
11
util/blueprint/blueprint.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package blueprint
|
||||
|
||||
type Blueprint struct {
|
||||
execPool ExecPool
|
||||
graphPool GraphPool
|
||||
}
|
||||
|
||||
func (bm *Blueprint) Init(execDefFilePath string, graphFilePath string) {
|
||||
bm.execPool.Load(execDefFilePath)
|
||||
bm.graphPool.Load(graphFilePath)
|
||||
}
|
||||
Reference in New Issue
Block a user