Category: Samples

Go Language example

Hello Program:
package main
import fmt “fmt”
func main()
{
fmt.Printf(”Hello, world; or Καλημέρα κόσμε; or こんにちは 世界\n”);
}
package – package statement imports all the packages for using their facilities.
import fmt  “fmt” -  imports the package fmt for implementing formatted I/O.
func  – Functions are defined by using the keyword func .
main – main is the starting point of the program.
Frm.Printf() – [...]