examples/test: make unicode example more interesting
Этот коммит содержится в:
родитель
486ea1b8ea
коммит
3e6750ae23
1 изменённых файлов: 1 добавлений и 1 удалений
|
@ -85,7 +85,7 @@ func main() {
|
||||||
}, 3)
|
}, 3)
|
||||||
|
|
||||||
// test library functions
|
// test library functions
|
||||||
println("lower to upper char:", 'h', "->", unicode.ToUpper('h'))
|
println("lower to upper char:", string('h'), "->", string(unicode.ToUpper('h')))
|
||||||
}
|
}
|
||||||
|
|
||||||
func runFunc(f func(int), arg int) {
|
func runFunc(f func(int), arg int) {
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче