官术网_书友最值得收藏!

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:

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.

主站蜘蛛池模板: 福州市| 临桂县| 通山县| 黑水县| 泸溪县| 项城市| 宜君县| 衡阳市| 阳高县| 元阳县| 东乡族自治县| 水城县| 灵石县| 鄄城县| 通渭县| 建湖县| 彭州市| 普洱| 宁陵县| 台湾省| 新泰市| 临潭县| 汾阳市| 慈溪市| 乌拉特中旗| 高密市| 醴陵市| 武隆县| 搜索| 九龙坡区| 云南省| 富民县| 肥城市| 岱山县| 芜湖市| 奈曼旗| 武鸣县| 陇西县| 雷州市| 铜陵市| 土默特左旗|