Do The Go Playground Share Links Expire?


I’ve just started my journey learning Golang and I’ve been practicing primarily in The Go Playground. In my notes, I’ve kept links to the code I’ve practiced. Before I continue using the playground this way, I wanted to ask: do I need to worry about Go Playground share links not working anymore?



As far as I know, the Go team doesn’t share any thoughts on links expire. My old links work pretty well, but if you plan to store code snippets in Playground, I would say that Github & Github Gists is a better place for it.

1 Like

Thanks, I’ve also just started actually using GitHub as well, so I’ll make sure to (learn how to) add them there.

1 Like

Yeah - echoing what @s0xzwasd said, I don’t believe they have an official stance on whether or not they will ever prune old code from the playground. If you don’t want to lose your code, store it in a github repo (learning how to use source control is a great skill as well if you’re not already proficient). That said, take a look at this answer on StackOverflow. It has playground links from 2016 that are still working fine. So, it’s reasonable to assume Google isn’t going to prune your code.


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.