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
+6.9k Golang : Find the longest line of text example
+52k Golang : How to get time in milliseconds?
+8.2k Golang : Variadic function arguments sanity check example
+12.9k Golang : Convert IPv4 address to packed 32-bit binary format
+7k Golang : Calculate BMI and risk category
+9.7k Golang : Sort and reverse sort a slice of floats
+7.6k Golang : Rename part of filename
+10.5k Golang : Generate random integer or float number
+7.2k Golang : Transform lisp or spinal case to Pascal case example
+11.7k Golang : Concurrency and goroutine example
+9.6k Golang : Get all countries currencies code in JSON format
+20.8k Golang : Read directory content with os.Open