MCPcopy Create free account
hub / github.com/cloudwan/gohan / SetParentNamespace

Method SetParentNamespace

schema/namespace.go:57–59  ·  view source on GitHub ↗

SetParentNamespace sets a parent of a namespace to the provided one

(parent *Namespace)

Source from the content-addressed store, hash-verified

55
56// SetParentNamespace sets a parent of a namespace to the provided one
57func (namespace *Namespace) SetParentNamespace(parent *Namespace) {
58 namespace.ParentNamespace = parent
59}
60
61// GetFullPrefix returns a full prefix of a namespace
62func (namespace *Namespace) GetFullPrefix() string {

Callers 1

registerNamespaceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected