Golang Hello World Example
This tutorial is dedicated to a young(11 years old by the time of writing) and upcoming programmer learning Golang in Malaysia. Happy learning and may you have a bright future in computer science field one day. Below is the simple Hello World tutorial you requested. :-)
Golang Hello World Example
package main
import "fmt"
func main() {
fmt.Println("Hello World! 你好世界!")
}
Output :
Hello World! 你好世界!
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+16.6k Golang : Get IP addresses of a domain name
+20.5k Golang : Check if os.Stdin input data is piped or from terminal
+6.3k Golang : Extract XML attribute data with attr field tag example
+17.8k Convert JSON to CSV in Golang
+5.3k JavaScript/JQuery : Redirect page examples
+16.1k Golang : Get sub string example
+10k Golang : Sort and reverse sort a slice of integers
+4.8k Chrome : How to block socketloop.com links in Google SERP?
+14.8k Golang : Reset buffer example
+14.1k Golang: Pad right or print ending(suffix) zero or spaces in fmt.Printf example
+7.2k Golang : Squaring elements in array
+19k Golang : How to make function callback or pass value from function as parameter?