Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit de170b0

Browse files
committed
logo001.gif
Signed-off-by: Tinywan <756684177@qq.com>
1 parent f7e1408 commit de170b0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
![Goroutines-explained](images/logo001.gif)
12
# :orange_book: 持续更新中...
23

3-
## 第0章 远程安装
4+
## 第0章 安装
45

56
```golang
67
$ go get github.com/Tinywan/golang-tutorial

‎docs/golang_tutorial_14.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ func main() {
298298

299299
上面的程序中,第 8 行我们试图改变字符串的第一个字符为 `a`。因为字符串是不可变的,因此这是非法的,将会报错:`main.go:8: cannot assign to s[0]`
300300

301-
为了改变一个字符串中的字符,我们需要先把字符串转换为 `rune` 切片,然后修改切片中的内容,最后将这个切片转换回字符串。
301+
**为了改变一个字符串中的字符,我们需要先把字符串转换为 `rune` 切片,然后修改切片中的内容,最后将这个切片转换回字符串**
302302

303303
```golang
304304
package main

‎images/logo001.gif‎

250 KB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /