hofstadter-io / cuetils

CLI and library for diff, patch, and ETL operations on CUE, JSON, and Yaml
BSD 3-Clause "New" or "Revised" License
78 stars 6 forks source link

Add *String Go functions for various ops #5

Open verdverm opened 2 years ago

verdverm commented 2 years ago

so one can make use of these helpers without filesystems

verdverm commented 2 years ago

Maybe io.Reader

They ought to wrap the OpValue() Go implementations, such that they simply read in the inputs, compile, and then pass to another func, much like the glob funcs do today.

Also, channel based? Or should that be up to the user, due to mutex requirements