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
+9.8k Golang : Get current, epoch time and display by year, month and day
+22.6k Golang : Round float to precision example
+12.7k Golang : Convert int(year) to time.Time type
+4.6k Golang : How to pass data between controllers with JSON Web Token
+4.7k PHP : Extract part of a string starting from the middle
+10.4k Fix ERROR 1045 (28000): Access denied for user 'root'@'ip-address' (using password: YES)
+18.9k Golang : Read input from console line
+13.4k Golang : Read XML elements data with xml.CharData example
+17.3k Golang : Check if IP address is version 4 or 6
+14.1k Elastic Search : Mapping date format and sort by date
+9.6k Golang : How to generate Code 39 barcode?