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
+7.9k How to show different content from website server when AdBlock is detected?
+39.8k Golang : Convert to io.ReadSeeker type
+16.5k Golang : read gzipped http response
+12.4k Golang : Drop cookie to visitor's browser and http.SetCookie() example
+7.2k Golang : Check to see if *File is a file or directory
+8.4k Golang : How to join strings?
+7.6k Golang : Regular Expression find string example
+9.5k Golang : interface - when and where to use examples
+9k Golang : does not implement flag.Value (missing Set method)
+5.1k Golang : Pad file extension automagically
+5.5k Golang : ROT32768 (rotate by 0x80) UTF-8 strings example
+8.6k Golang : Take screen shot of browser with JQuery example