github.com/everlongproject/i18n4go@v0.2.7-0.20201028180611-670cbaceaa6b/examples/demo1-i18n/demo1.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  const VERSION = "v0.0.1"
     8  
     9  func main() {
    10  	fmt.Println(T("Hello from Goffer land and i18n4go"))
    11  	fmt.Println("")
    12  	fmt.Printf(T("Version {{.Arg0}}\n", map[string]interface{}{"Arg0": VERSION}))
    13  }