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.

Reply via email to