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
+3.2k Golang : PGX CopyFrom to insert rows into Postgres database
+19.3k Golang : Underscore or snake_case to camel case example
+10.6k Golang : Handle API query by curl with Gorilla Queries example
+6.7k Golang : What fmt.Println() can do and println() cannot do
+3.6k Javascript : Detect when console is activated and do something about it
+7k Golang : Load DSA public key from file example
+25.3k Golang : Find files by extension
+50.5k Golang : How to get struct field and value by name
+8.2k Golang : Timeout example
+5.7k Golang : Calculate pivot points for a cross
+29.4k Golang : Download file example
+30.7k Golang : Validate email address with regular expression