Glad you think so :) Suggestions and bugs welcome. It's under active development, and I know some things don't work right now (like variadic functions), but I'd like to make it work with as wide a swath of go functions as I can :) And I think that, since there's such a strong culture of being idiomatic in Go, not to mention implicit interfaces, that we can make a heck of a lot of things Just Workâ˘.
On Wednesday, October 5, 2016 at 12:53:24 PM UTC-4, setha...@gmail.com wrote: > > That is... awesome... > > On Monday, October 3, 2016 at 5:00:34 PM UTC-4, Nate Finch wrote: >> >> get it via the canonical import path: >> >> go get npf.io/gorram >> >> >> Code is at https://github.com/natefinch/gorram >> >> >> Still a work in progress, but fun to play around with right now. >> >> Lets you do things like this: >> >> >> $ echo 12345 | gorram encoding/base64.StdEncoding.EncodeToString >> >> MTIzNDU2Cg== >> >> >> or >> >> >> $ gorram encoding/json.Indent foo.json "" $'\t' >> >> { >> >> "foo" : "bar" >> >> } >> >> >> or even just >> >> >> $ gorram math.Sqrt 25 >> >> 5 >> >> >> *does not work with every single function, if there's no obvious way to >> translate a CLI arg to that type. >> >> >> Give it a try and give me some feedback. >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.