mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-11-13 09:16:10 +08:00
modified: eBook/18.1.md
modified: eBook/18.10.md modified: eBook/18.11.md modified: eBook/18.2.md modified: eBook/18.3.md modified: eBook/18.4.md modified: eBook/18.5.md modified: eBook/18.6.md modified: eBook/18.7.md modified: eBook/18.8.md modified: eBook/18.9.md
This commit is contained in:
@@ -34,9 +34,7 @@ for ix, ch := range str {
|
||||
|
||||
最快速:
|
||||
|
||||
`utf8.RuneCountInString(str)`
|
||||
|
||||
`len([]int(str)) //TBD`
|
||||
`utf8.RuneCountInString(str)`
|
||||
|
||||
(5)如何连接字符串:
|
||||
|
||||
@@ -55,7 +53,7 @@ for ix, ch := range str {
|
||||
|
||||
(6)如何解析命令行参数:使用`os`或者`flag`包
|
||||
|
||||
(参考[例12.4](examples/chapter_12/fileinput.go))
|
||||
(参考[例12.4](examples/chapter_12/fileinput.go))
|
||||
|
||||
## 链接
|
||||
|
||||
|
||||
Reference in New Issue
Block a user