github.com/xenophex/i18n4go@v0.2.7-0.20160907212557-40256cda157a/test_fixtures/rewrite_package/d_option/expected_output/test2.go (about) 1 package doption 2 3 import ( 4 "fmt" 5 ) 6 7 func DOption2() string { 8 name := T("cruel") 9 fmt.Printf(T("Bye from {{.Arg0}}", map[string]interface{}{"Arg0": T("Evil")})) 10 11 for i := range 10 { 12 fmt.Printf(T("Hello {{.Arg0}} world!", map[string]interface{}{"Arg0": name})) 13 } 14 }