Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonPrefix ¶
func GetPath ¶ added in v0.78.0
GetPath retrieves a value from a nested map using a dot-separated path. It supports accessing array elements using numeric indices in the path. For example, given the map:
{
"user": {
"name": "Alice",
"addresses": [
{"city": "New York"},
{"city": "Los Angeles"}
]
}
}
The path "user.name" would return "Alice", and the path "user.addresses.0.city" would return "New York".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.