Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ generateStepID
Function
generateStepID
pkg/executionplan/types.go:289–291 ·
view source on GitHub ↗
generateStepID 生成步骤ID
()
Source
from the content-addressed store, hash-verified
287
288
// generateStepID 生成步骤ID
289
func
generateStepID() string {
290
return
"step_"
+ randomString(8)
291
}
292
293
// randomString 生成随机字符串
294
func
randomString(n int) string {
Callers
1
AddStep
Method · 0.85
Calls
1
randomString
Function · 0.70
Tested by
no test coverage detected