GetStringMeta easily returns the string value of the MetaData for this key or an empty string if the MetaData for this key is not defined
(namespace string)
| 294 | // GetStringMeta easily returns the string value of the MetaData for this key |
| 295 | // or an empty string if the MetaData for this key is not defined |
| 296 | func (node *Node) GetStringMeta(namespace string) string { |
| 297 | var value string |
| 298 | if e := node.GetMeta(namespace, &value); e != nil { |
| 299 | return "" |
| 300 | } |
| 301 | return value |
| 302 | } |
| 303 | |
| 304 | // HasMetaKey checks if a metaData with this key has been defined |
| 305 | func (node *Node) HasMetaKey(keyName string) bool { |
no test coverage detected