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.9k Python : Create Whois client or function example
+5.5k CodeIgniter/PHP : Remove empty lines above RSS or ATOM xml tag
+9k Golang : Generate random Chinese, Japanese, Korean and other runes
+5.8k Golang : How to write backslash in string?
+4.3k Java : Generate multiplication table example
+7.3k Golang : Command line ticker to show work in progress
+5.2k Golang : Stop goroutine without channel
+5.1k Golang : fmt.Println prints out empty data from struct
+5k Golang : How to deal with configuration data?
+11.2k Swift : Convert (cast) Float to String
+11.6k Golang : Clean formatting/indenting or pretty print JSON result
+15.2k Golang : Validate hostname