github.com/xenophex/i18n4go@v0.2.7-0.20160907212557-40256cda157a/test_fixtures/rewrite_package/i18n_strings_filename_option/input_files/test_interpolated_strings.go (about) 1 package input_files 2 3 import ( 4 "fmt" 5 "strings" 6 ) 7 8 func Interpolated() string { 9 name := "cruel" 10 myName := "evil" 11 fmt.Printf("Hello %s world!", name) 12 fmt.Printf("Bye %s world!\n", name) 13 fmt.Printf("Hello %s world!, bye from %s", name, myName) 14 fmt.Printf("Hello again:\t %s world!\n", name) 15 16 fmt.Printf("Hello %d(%s) world!, bye from %s", 10, name, "Evil") 17 }