Parse parses the schema with namespace preserved. For the types/predicates for which the namespace is not specified, it uses default.
(s string)
| 713 | // Parse parses the schema with namespace preserved. For the types/predicates for which the |
| 714 | // namespace is not specified, it uses default. |
| 715 | func Parse(s string) (*ParsedSchema, error) { |
| 716 | return parse(s, math.MaxUint64) |
| 717 | } |
| 718 | |
| 719 | // ParseWithNamespace parses the schema and forces the given namespace on each of the |
| 720 | // type/predicate. |