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?
+10k Golang : How to pipe input data to executing child process?
+10.9k Golang : Flush and close file created by os.Create and bufio.NewWriter example
+12.6k Golang : Fix image: unknown format error
+31.3k Golang : Smarter Error Handling with strings.Contains()
+15.4k Golang : How to implement two-factor authentication?
+4.1k Golang : Check if a word is countable or not
+14.3k Golang : invalid character ',' looking for beginning of value
+40.9k Golang : Get hardware information such as disk, memory and CPU usage
+9.8k Golang : Web routing/multiplex example
+10.5k How to tell if a binary(executable) file or web application is built with Golang?
+7k Golang : Add build version and other information in executables