fork download
  1. // Определение пакета main
  2. package main
  3. // Импорт пакета fmt
  4. import "fmt"
  5. // Определение функции main
  6. func main() {
  7. // Вызов функции Print из пакета fmt
  8. // Отступ 1 таб
  9. fmt.Print("Hello, World!")
  10. }
Success #stdin #stdout 0.01s 5312KB
stdin
Standard input is empty
stdout
Hello, World!