MCPcopy Create free account
hub / github.com/astercloud/aster / generatePlanID

Function generatePlanID

pkg/executionplan/types.go:284–286  ·  view source on GitHub ↗

generatePlanID 生成计划ID

()

Source from the content-addressed store, hash-verified

282
283// generatePlanID 生成计划ID
284func generatePlanID() string {
285 return "plan_" + time.Now().Format("20060102150405") + "_" + randomString(6)
286}
287
288// generateStepID 生成步骤ID
289func generateStepID() string {

Callers 1

NewExecutionPlanFunction · 0.85

Calls 1

randomStringFunction · 0.70

Tested by

no test coverage detected