Versioning for the scripts is now in, so no need to run with -r to
regenerate scripts (
On Tuesday, October 11, 2016 at 4:57:52 PM UTC-4, Nate Finch wrote:
>
> Next on my list is adding versioning to the generated scripts so you never
> have to worry about whether a script is old or not.
>
> Als
Next on my list is adding versioning to the generated scripts so you never
have to worry about whether a script is old or not.
Also note that I added -t so you can print out different parts
of the respond if you want, e.g.
$ gorram -t {{.Status}} net/http Get https://golang.org
200 OK
On Mo
aha! that was it, thanks.
On 11 October 2016 at 18:16, Edward Muller wrote:
> gorram -r <...>
>
> On Mon, Oct 10, 2016 at 3:02 PM Mathieu Lonjaret
> wrote:
>>
>> Looks shiny!
>> But is there some sort of cache I have to clear? I've just updated and
>> rebuilt, and I still get the old behaviour.
gorram -r <...>
On Mon, Oct 10, 2016 at 3:02 PM Mathieu Lonjaret
wrote:
> Looks shiny!
> But is there some sort of cache I have to clear? I've just updated and
> rebuilt, and I still get the old behaviour.
>
>
> On 8 October 2016 at 04:05, Nate Finch wrote:
> > ...and now it works like you'd ho
Looks shiny!
But is there some sort of cache I have to clear? I've just updated and
rebuilt, and I still get the old behaviour.
On 8 October 2016 at 04:05, Nate Finch wrote:
> ...and now it works like you'd hope :)
>
>
> $ gorram net/http Get https://npf.io/gorram/run
> href="https://npf.io/gor
...and now it works like you'd hope :)
$ gorram net/http Get https://npf.io/gorram/run
https://npf.io/gorram/"/>https://npf.io/gorram/"; />
or if you want to get fancy:
$ gorram net/http Get https://npf.io/gorram/run | gorram
github.com/yosssi/gohtml Format
https://npf.io/gorram/"/>
It was one of my first thoughts, too. So, just for those who haven't
tried it... it does work, technically -
$ gorram net/http Get https://google.com
&{200 OK 200 HTTP/2.0 2 0 map[Cache-Control:[private, max-age=0]
Content-Type:[text/html; charset=ISO-8859-1] X-Xss-Protection:[1;
mode=block]
out of curiosity, do you envision a way to make something based on
gorram net/http Get http://foo.org
"Just Work"? (i.e. it would get you what the user is most likely
interested in: the resp.Body)
I must admit it's the first thing I tried as it would have been a
gorram fun replacement for curl.
Can't stop the signal. ;-)
--
Nicola Larosa
--
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 ht
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 bein
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 thi
11 matches
Mail list logo