Last active
January 3, 2016 07:59
-
-
Save wari/8433558 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See this running @ http://play.golang.org/p/PN7GapMy3q | |
package main | |
import "fmt" | |
func main() { | |
你好 := "Hello" | |
world := "世界" | |
问好(你好, world) | |
} | |
func 问好(排列 ...string) { | |
for _, 串 := range 排列 { | |
fmt.Printf("%s ", 串) | |
} | |
fmt.Printf("\n") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
May not be semantically correct, since I don't know Chinese, but I just want to see how far I can take this. -> http://play.golang.org/p/PN7GapMy3q