Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/bytebase
/ FormatWorkspace
Function
FormatWorkspace
backend/common/resource_name.go:542–544 ·
view source on GitHub ↗
(id string)
Source
from the content-addressed store, hash-verified
540
}
541
542
func
FormatWorkspace(id string) string {
543
return
fmt.Sprintf(
"%s%s"
, WorkspacePrefix, id)
544
}
545
546
func
FormatProject(id string) string {
547
return
fmt.Sprintf(
"%s%s"
, ProjectNamePrefix, id)
Callers
13
PatchWorkspaceIamPolicy
Method · 0.92
GetWorkspaceIamPolicySnapshot
Method · 0.92
GetEffectiveQueryDataPolicy
Method · 0.92
TestSQLQueryDataSourceResolution
Function · 0.92
getServerInfo
Method · 0.92
CreateUser
Method · 0.92
convertToUser
Function · 0.92
createAuditLog
Method · 0.92
Signup
Method · 0.92
switchWorkspaceInternal
Method · 0.92
finalizeLogin
Method · 0.92
GetWorkspace
Method · 0.92
Calls
no outgoing calls
Tested by
1
TestSQLQueryDataSourceResolution
Function · 0.74