If you want to try GO, you can do it using the GO Playground, you don’t need to install anything to use it, you only need to open your browser, I recommend using google chrome because GO works better in Google Chrome.
Open your browser, go to the URL https://golang.org and then access the GO Playground directly with the following URL https://go.dev/play/.

[gist]26514c4871a50c43e164c3c177edeb5c[/gist]
The GO Codes you can find in this GitHub repository.
Happy Learning!!