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
+11.5k Golang : Find age or leap age from date of birth example
+5.6k List of Golang XML tutorials
+7.3k Golang : Create zip/ePub file without compression(use Store algorithm)
+7.7k Golang : Get today's weekday name and calculate target day distance example
+40.8k Golang : How to check if a string contains another sub-string?
+6.4k Golang : Spell checking with ispell example
+15.4k Golang : Validate hostname
+11.4k Golang : Display a text file line by line with line number example
+15.2k Golang : Delete certain files in a directory
+4.9k Golang : Display packages names during compilation
+10.4k Golang : Create matrix with Gonum Matrix package example
+22.8k Golang : Test file read write permission example