Documentation ¶
Overview ¶
Package pop contains the object that determines the gathered values.
Pop is for how to return values of a list.
A note about Pop:
This object implements the Parameter interfaces used by graph traversals.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pop ¶
type Pop string
Pop is used to determine whether the first value, last value or all values are gathered. Not that mixed will return results as a list if there are multiple or as a singleton if only one object in that path is labeled.
const ( // First is the first item in an ordered collection // Such as collection[0] First Pop = "first" // Last is the last item in an ordered collection // Such as collection[collection.size()-1] Last Pop = "last" // All gets all the items and returns them as a list. All Pop = "all" // Mixed gets the items as either a list (for multiple) // or an object (for singles). Mixed Pop = "mixed" )
Click to show internal directories.
Click to hide internal directories.