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

2016-09-20 Thread Marvin Renich
* Ivan Anfilatov  [160920 10:36]:
> https://play.golang.org/p/Vg6f0gSs3l.go
> 
> compile - post request to https://play.golang.org/compile in body request - 
> source 
> response - json

Thanks, Ivan!

...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] Re: playground URL to fetch code only

2016-09-20 Thread Ivan Anfilatov
https://play.golang.org/p/Vg6f0gSs3l.go

compile - post request to https://play.golang.org/compile in body request - 
source 
response - json


вторник, 20 сентября 2016 г., 16:09:47 UTC+3 пользователь 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.