Commit Graph

4 Commits

Author SHA1 Message Date
Michael Bolot 53fba45d47 Restoring GetValue
Restores GetValue to it's original interface to avoid breaking changes.
2024-02-23 11:24:50 -06:00
Michael Bolot 1592712122 Adding package comments for data package
Adds package comments and extra test cases
2024-02-06 12:35:09 -06:00
Colleen Murphy 63eb31bb73 Add support for getting array index in GetValue
Add the ability to use an index number to get an item out of a slice.

The number will still be a string representation of an integer. For
example, to get the last element from a nested slice like:

```
data := map[string]interface{}{
    "data": []interface{}{
        "first",
        "second",
        "third",
    },
}
```

Use keys like

```
val := GetValues(data, "data", "2")
```
2023-10-09 13:00:34 -05:00
Darren Shepherd bec3f9e16f Move data and schemas from norman to wrangler 2020-01-30 22:15:09 -07:00