Merge pull request #90 from zyw271828/master

Fix tag
This commit is contained in:
Xargin 2020-11-30 16:29:52 +08:00 committed by GitHub
commit f5a60f527e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ go f() // create a new goroutine that calls f(); don't wait
下面的例子main goroutine将计算菲波那契数列的第45个元素值。由于计算函数使用低效的递归所以会运行相当长时间在此期间我们想让用户看到一个可见的标识来表明程序依然在正常运行所以来做一个动画的小图标
<u><i>gopl.io/ch8/spinner</i><u>
<u><i>gopl.io/ch8/spinner</i></u>
```go
func main() {
go spinner(100 * time.Millisecond)