How to Use Go Playground for Quick Experiments

Use the Go Playground at go.dev/play to run and share Go code snippets instantly in your browser without installation.

Use the Go Playground at https://go.dev/play/ to write, run, and share Go code instantly without installing anything. Paste your code into the editor, click "Run" to see output, and use the "Share" button to generate a link for collaboration.

package main

import "fmt"

func main() {
	fmt.Println("Hello, playground!")
}