Discover Packages
github.com/TrebuchetDynamics/goncho
service
internal
scopekey
package
Version:
v0.3.2
Opens a new window with list of versions in this module.
Published: Jun 6, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Workspace trims a requested workspace and falls back to defaultWorkspace when
the request is blank. When wildcardAll is true, "*" maps to the empty
workspace used by list/audit queries to mean all workspaces.
Scope is the normalized workspace/profile/peer key used by team/action records.
func Normalize(defaultWorkspace, workspaceID, profileID, peer string ) Scope
Normalize trims scope fields and falls back to defaultWorkspace when workspaceID is blank.
Complete reports whether the workspace and peer identity are present.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.