Help us shape the future of Go! Take the 2026 Go Developer Survey

contextx

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWorkspaceID

func GetWorkspaceID(ctx context.Context) string

func WithContext

func WithContext(ctx context.Context, v *Context) context.Context

Types

type Context

type Context struct {
	WorkspaceID   string
	WorkspaceName string
}

func FromContext

func FromContext(ctx context.Context) (*Context, bool)

Jump to

Keyboard shortcuts

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