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
+8.3k Golang : Generate random Chinese, Japanese, Korean and other runes
+7.4k Golang : Metaprogramming example of wrapping a function
+12.8k Golang : How to determine if a year is leap year?
+7.4k Golang : Check if integer is power of four example
+6.2k Golang : Fibonacci number generator examples
+8.1k Golang : automatically figure out array length(size) with three dots
+11.3k Golang : convert(cast) string to integer value
+13.1k Golang : How to convert a number to words
+6.5k Golang : Check to see if *File is a file or directory
+27k Get file path of temporary file in Go
+18.3k Golang : Fix cannot download, $GOPATH not set error
+6.8k Golang : Convert(cast) io.Reader type to string