getMetaString gets a metadata string
(namespace string)
| 553 | |
| 554 | // getMetaString gets a metadata string |
| 555 | func (node *Node) getMetaString(namespace string) (meta string) { |
| 556 | if node.MetaStore == nil { |
| 557 | return "" |
| 558 | } |
| 559 | var ok bool |
| 560 | if meta, ok = node.MetaStore[namespace]; ok { |
| 561 | return meta |
| 562 | } |
| 563 | return "" |
| 564 | } |
| 565 | |
| 566 | // ParseDurationDate transforms DurationDate field to proper MinDate/MaxDate values |
| 567 | // variadic ref is passed mostly for test, should normally use NOW for reference time |
no outgoing calls