Skip to content

Instantly share code, notes, and snippets.

@sahajre
Last active August 1, 2019 15:24
Show Gist options
  • Save sahajre/138decc907a4b5b7369c3f9d109d5ee1 to your computer and use it in GitHub Desktop.
Save sahajre/138decc907a4b5b7369c3f9d109d5ee1 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
var s = [9]rune{
'H', 'e', 'l', 'l', 'o', ',', ' ', '世', '界',
}
for i := 0; i < len(s); i++ {
fmt.Printf("%c", s[i])
}
fmt.Println()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment