hashicorp / hashicorp/go-immutable-radix
Is there a way to update a existed value, e.g., append an element to the list
Open
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
Something like
// the value is a pointer of a slice
tree.Update(key, function(old T, val TT) {
if old != nil {
*old = append(*old, val)
}
})
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.