On 2016-09-20 09:06, Marvin Renich wrote: > 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?
curl 'https://play.golang.org/p/Vg6f0gSs3l.go', i.e. just appending '.go' will do the trick. -- Nicolas Martyanoff http://snowsyn.net khae...@gmail.com -- 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.