![Security with Go](https://wfqqreader-1252317822.image.myqcloud.com/cover/264/36700264/b_36700264.jpg)
上QQ阅读APP看书,第一时间看更新
The Go playground
The Go playground is a website where you can write and execute Go code without having to install anything. In the playground, https://play.golang.org, you can test pieces of code to explore the language and fiddle with things to understand how the language works. It also allows you to share your snippet by creating a unique URL that stores your snippet. Sharing code through the playground can be much more helpful than a plaintext snippet, since it allows the reader to actually execute the code and tinker with the source if they have any questions about how it works:
![](https://epubservercos.yuewen.com/135F25/19470398301590506/epubprivate/OEBPS/Images/d5514c8a-7253-4641-8b61-3e02ebcac15e.png?sign=1739490606-NOklgS45ccE0xMy5yXMypDzWvMzKNlTc-0-05681a6035fa2131663c8aba400794ab)
The preceding screenshot shows a simple program being run in the playground. There are buttons at the top to run, format, add import statements, and share the code with others.