change escape of ch7

This commit is contained in:
Xargin
2016-10-18 13:20:38 +08:00
parent 9c768334f2
commit 3da62d2c3f
8 changed files with 14 additions and 14 deletions

View File

@@ -66,7 +66,7 @@ func length(s string) time.Duration {
}
```
printTracks函数将播放列表打印成一个表格。一个图形化的展示可能会更好点但是这个小程序使用text/tabwriter包来生成一个列是整齐对齐和隔开的表格像下面展示的这样。注意到*tabwriter.Writer是满足io.Writer接口的。它会收集每一片写向它的数据它的Flush方法会格式化整个表格并且将它写向os.Stdout标准输出
printTracks函数将播放列表打印成一个表格。一个图形化的展示可能会更好点但是这个小程序使用text/tabwriter包来生成一个列是整齐对齐和隔开的表格像下面展示的这样。注意到`*tabwriter.Writer`是满足io.Writer接口的。它会收集每一片写向它的数据它的Flush方法会格式化整个表格并且将它写向os.Stdout标准输出
```go
func printTracks(tracks []*Track) {