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
+6k Golang : How to iterate a slice without using for loop?
+15k Golang : How to extract links from web page ?
+4.1k Linux/Unix/MacOSX : Find out which application is listening to port 80 or use which IP version
+19.2k PHP : Convert(cast) int to double/float
+6.2k Golang : Process json data with Jason package
+32.6k Golang : Proper way to set function argument default value
+6.1k Golang : Validate credit card example
+9.3k Golang : Generate 403 Forbidden to protect a page or prevent indexing by search engine
+18.9k Golang : How to get struct tag and use field name to retrieve data?
+7.9k Golang : Generate EAN barcode
+7k Swift : Convert (cast) String to Float
+14k Golang : rune literal not terminated error