Re: [go-nuts] playground URL to fetch code only

2016-09-20 Thread Marvin Renich
* Nicolas Martyanoff  [160920 10:07]:
> curl 'https://play.golang.org/p/Vg6f0gSs3l.go', i.e. just appending '.go' will
> do the trick.

Excellent!  Thank you!

...Marvin

-- 
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.


[go-nuts] playground URL to fetch code only

2016-09-20 Thread Marvin Renich
Is there a way to take a playground URL, such as
https://play.golang.org/p/Vg6f0gSs3l, and modify it (e.g. with a query
string) so that you can retrieve just the code as text without the
surrounding html?  Something like

curl 'https://play.golang.org/p/Vg6f0gSs3l?text'

If not, would such a feature request be likely to get implemented?

Thanks...Marvin

-- 
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.