// +build OMIT | |
// Copyright 2013 The Go Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
package main | |
import "fmt" | |
func main() { | |
const nihongo = "日本語" | |
for index, runeValue := range nihongo { | |
fmt.Printf("%#U starts at byte position %d\n", runeValue, index) | |
} | |
} |