调整格式.
Signed-off-by: chen.yang <chen.yang@yuzhen-iot.com>
This commit is contained in:
parent
f42b41a56e
commit
d979c5e966
|
@ -14,7 +14,7 @@ func NewFile(fd uintptr, name string) *File
|
||||||
Create 方法示例如下:
|
Create 方法示例如下:
|
||||||
|
|
||||||
```go
|
```go
|
||||||
f,err := os.Create(fileName)
|
f, err := os.Create(fileName)
|
||||||
defer f.Close()
|
defer f.Close()
|
||||||
if err !=nil {
|
if err !=nil {
|
||||||
fmt.Println(err.Error())
|
fmt.Println(err.Error())
|
||||||
|
|
Loading…
Reference in New Issue