Loris Friedel

Results 11 comments of Loris Friedel

For example, I would ideally do this to find a single element in a json object and use it directly: ```golang nodeName, err := script. Exec("kubectl get pod myPod -o...

This could be, but the trim would need to strip spaces AND quotes, and that would make it a weird "Trim" method I guess, WDYT?

Maybe just a `Trim(cutset string)` and `TrimSpace()` functions could be perfectly suited here, easy to implement and easy to understand as they match their `strings.Trim` and `strings.TrimSpace` equivalent! WDYT?

Anything like Trim(), Strip() and such would save a lot a painful code handling those polluted outputs indeed!

For the "trim quote" part, not really, but for the "trim space" part I guess everywhere where `Fprintln()` function is used in the library could be a good candidate, as...

Interested as well, it's even more important when you use a timeout context, you want to know when it timed-out!

> There is new prerelease available on `gcmodule` branch and here: https://github.com/CertainLach/jrsonnet/releases/tag/v0.5.0-gcmodule-test > > It can't be uploaded to crates.io now, because it depends on git dependencies (forks of serde-json...

> Can you please write a new test case that fails with previous version using `os.Readlink` then we can make sure the exact problem your code will fix? Hello @otiai10...

> I want you to add/fix test cases to let it fail correctly. > > Then, fix the source code. > > That's my request. Is it possible? > >...