Advertisement
cwchen

[Go] Hello World (with comments)

Aug 20th, 2017
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.19 KB | None | 0 0
  1. // Declare package name, mandatory for all Go programs
  2. package main
  3.  
  4. // Import required packages.
  5. import (
  6.     "fmt"
  7. )
  8.  
  9. // Our main program.
  10. func main() {
  11.     fmt.Println("Hello, World")
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement