Open ghostsquad opened 2 years ago
currently get looks like this:
get
get $myDict "key1"
which supports a workflow such as coalesce "foo" "" | get $myDict
coalesce "foo" "" | get $myDict
This is a request to support the opposite workflow:
retrieve "key1" $myDict
which could be used like:
`. | retrieve "value"`
I'm not really sure if retrieve if the right verb here, but order matters if you want succinct code and to use pipes in go templates.
retrieve
currently
get
looks like this:which supports a workflow such as
coalesce "foo" "" | get $myDict
This is a request to support the opposite workflow:
which could be used like:
I'm not really sure if
retrieve
if the right verb here, but order matters if you want succinct code and to use pipes in go templates.