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
+4.2k Golang : Join lines with certain suffix symbol example
+7.1k Golang : Accept any number of function arguments with three dots(...)
+4.8k Golang : Break string into a slice of characters example
+19.5k Golang : Convert(cast) string to rune and back to string example
+71.9k Golang : How to convert character to ASCII and back
+22.3k Golang : Call function from another package
+6.8k Golang : Progress bar with ∎ character
+7.8k Golang : Check a web page existence with HEAD request example
+13.7k Golang : Fix cannot convert buffer (type *bytes.Buffer) to type string error
+22.2k Golang : Change file read or write permission example
+22.2k Golang : GORM read from database example
+16.1k Golang : Logging with logrus