Tom Lebreux
f3b392ada2
Move to wrangler v3 ( #427 )
2024-05-02 10:06:30 -04:00
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
Colleen Murphy
fa1a98735b
Add unit test for data.GetValue
2023-10-09 13:00:27 -05:00
Ricardo Weir
d4a7d13cee
Update module to v2 and update paths
2023-09-01 17:51:39 -07:00
Kevin Joiner
707ef06124
Fix golangci-lint errors
2023-02-21 09:14:27 -05:00
Darren Shepherd
57e55381d3
Add MergeMapsConcatSlice
2021-06-15 22:22:37 -07:00
Darren Shepherd
70e0f56702
Make ToStringSlice turn a string into a since slice
2021-04-19 11:10:04 -07:00
Darren Shepherd
3cce0227f5
Add unstructured handling to data.Object
2021-04-15 14:08:37 -07:00
Darren Shepherd
571d565ab4
Make ToArgsKey treat three letter acronyms specially
2020-07-21 08:25:06 -07:00
Darren Shepherd
5ab86210d7
Add convert.ToAddKey
2020-07-19 13:50:46 -07:00
Darren Shepherd
06dd963e4a
Add data.MergeMaps
2020-03-28 14:44:56 -07:00
Darren Shepherd
bec3f9e16f
Move data and schemas from norman to wrangler
2020-01-30 22:15:09 -07:00