Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save NaniteFactory/fdb4ff670b14b2d8c1ec5c76d0778446 to your computer and use it in GitHub Desktop.

Select an option

Save NaniteFactory/fdb4ff670b14b2d8c1ec5c76d0778446 to your computer and use it in GitHub Desktop.
"Hello, world." in 8 different languages for testers.
package main
import (
"fmt"
)
type HelloWorld struct {
Arabic string
English string
Greek string
Hebrew string
Japanese string
Khmer string
Korean string
Smile string
}
func main() {
sample := HelloWorld{
Arabic: "مرحبا بالعالم.",
English: "Hello, world.",
Greek: "Γειά σου Κόσμε.",
Hebrew: "שלום עולם.",
Japanese: "おはよう、世界。",
Khmer: "សួស្តី​ពិភពលោក។",
Korean: "안녕, 세상(世上).",
Smile: "☺",
}
fmt.Println(sample)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment