Add 0.7.5.md syntax highlighting

This commit is contained in:
vCaesar
2016-12-18 16:06:44 +08:00
parent f2b2821f0c
commit 89f1b3f802

View File

@@ -21,6 +21,7 @@
下面是演示代码:
```Go
package main
@@ -39,6 +40,7 @@
os.RemoveAll("astaxie")
}
```
## 文件操作
@@ -80,6 +82,7 @@
写入string信息到文件
写文件的示例代码
```Go
package main
@@ -102,6 +105,7 @@
}
}
```
### 读文件
读文件函数:
@@ -114,6 +118,7 @@
从off开始读取数据到b中
读文件的示例代码:
```Go
package main
@@ -139,7 +144,8 @@
os.Stdout.Write(buf[:n])
}
}
```
### 删除文件
Go语言里面删除文件和删除文件夹是同一个函数