Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bytebase/bytebase
/ generateRandomString
Function
generateRandomString
backend/tests/common.go:9–11 ·
view source on GitHub ↗
(prefix string)
Source
from the content-addressed store, hash-verified
7
)
8
9
func
generateRandomString(prefix string) string {
10
return
fmt.Sprintf(
"%s-%s"
, prefix, uuid.New().String()[:10])
11
}
Callers
15
TestSyncSchema
Function · 0.85
TestSyncSchemaWithTempSchema
Function · 0.85
TestDataSource
Function · 0.85
TestDataSourceValidateOnly
Function · 0.85
createTestProject
Method · 0.85
addWebhookForEvents
Function · 0.85
TestDirectApprovalRuleMatching
Function · 0.85
TestApprovalRuleFirstMatchWins
Function · 0.85
TestApprovalRuleNoMatch
Function · 0.85
TestFallbackRuleMatchesWhenSourceSpecificDoesNot
Function · 0.85
TestSourceSpecificRuleTakesPriorityOverFallback
Function · 0.85
TestSelfApprovalBlocked
Function · 0.85
Calls
1
String
Method · 0.65
Tested by
15
TestSyncSchema
Function · 0.68
TestSyncSchemaWithTempSchema
Function · 0.68
TestDataSource
Function · 0.68
TestDataSourceValidateOnly
Function · 0.68
createTestProject
Method · 0.68
addWebhookForEvents
Function · 0.68
TestDirectApprovalRuleMatching
Function · 0.68
TestApprovalRuleFirstMatchWins
Function · 0.68
TestApprovalRuleNoMatch
Function · 0.68
TestFallbackRuleMatchesWhenSourceSpecificDoesNot
Function · 0.68
TestSourceSpecificRuleTakesPriorityOverFallback
Function · 0.68
TestSelfApprovalBlocked
Function · 0.68