Versions in this module Expand all Collapse all v1 v1.1.7 Apr 1, 2021 Changes in this version + const RootNamespaceID + var ErrNoNamespace = errors.New("no namespace") + var RootNamespace = &Namespace + func Canonicalize(nsPath string) string + func ContextWithNamespace(ctx context.Context, ns *Namespace) context.Context + func RootContext(ctx context.Context) context.Context + func SplitIDFromString(input string) (string, string) + type Namespace struct + ID string + Path string + func FromContext(ctx context.Context) (*Namespace, error) + func (n *Namespace) HasParent(possibleParent *Namespace) bool + func (n *Namespace) TrimmedPath(path string) string