github.com/xenophex/i18n4go@v0.2.7-0.20160907212557-40256cda157a/test_fixtures/rewrite_package/d_option/expected_output/test.go (about)

     1  package doption
     2  
     3  import (
     4  	"fmt"
     5  )
     6  
     7  func DOption() string {
     8  	name := T("cruel")
     9  	fmt.Printf(T("Hello {{.Arg0}} world!", map[string]interface{}{"Arg0": name}))
    10  	printf(T("Hello {{.Arg0}} world!", map[string]interface{}{"Arg0": name}))
    11  
    12  	fmt.Printf(T("Bye from {{.Arg0}}", map[string]interface{}{"Arg0": T("Evil")}))
    13  }