{"modulePath":"github.com/AlaudaDevops/pkg","version":"v0.14.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package namespace\n\nPackage namespace contains functions to add and retrieve namespace from context\n\n## Functions\n\n```go\nfunc NamespaceFrom(ctx context.Context) (string, bool)\n```\nNamespaceFrom returns the value of the namespace key on the ctx\n\n```go\nfunc NamespaceValue(ctx context.Context) string\n```\nNamespaceValue returns the value of the namespace key on the ctx, or the empty string if none\n\n```go\nfunc WithNamespace(parent context.Context, namespace string) context.Context\n```\nWithNamespace returns a copy of parent in which the namespace value is set\n\n","path":"github.com/AlaudaDevops/pkg/namespace","name":"namespace","synopsis":"Package namespace contains functions to add and retrieve namespace from context","isRedistributable":true}
