Commit Graph

2 Commits

Author SHA1 Message Date
Antoine Pelisse ec3eca8944 selectors: Remove "Map" and "Slice"
Transforming from Interface to Map or Slice in order to get a sub-item
was cumbersome, so now you can only get children directly from the
interface.

Maps and Slices are at the same level as Number or string (you can only
filter or get). Also rename Map/Slice/Number/String to
AsMap/AsSlice/AsNumber/AsString to remove ambiguity.
2018-03-19 16:56:40 -07:00
Antoine Pelisse 81e47da354 Move predicates and unstructpath to path
And rename unstructpath to selectors, since the package only contains
selectors now. The name of types in the selectors package could be
improved now that the package name is more specific.
2018-03-19 10:53:04 -07:00