Go Playground

Editor
Code Snippets
Output
Output will appear here after execution...
Go Documentation
Basic Syntax
  • package main - Declares the package
  • import "fmt" - Imports packages
  • func main() - Entry point
Common Packages
  • fmt - Formatted I/O
  • math - Math functions
  • strings - String manipulation