workspace

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRequired = errors.New("goncho: workspace_id is required")

ErrRequired reports that a webhook operation needs a workspace identifier.

Functions

func Resolve

func Resolve(workspaceID, fallback string) string

Resolve returns the explicit workspace when present, otherwise the fallback.

func Trim

func Trim(workspaceID string) string

Trim normalizes a workspace identifier at package boundaries.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL