forked from mirror/afero
Fix some code bugs in the README.md.
This commit is contained in:
parent
3de492c3cd
commit
3e504d357f
|
@ -166,8 +166,8 @@ f, err := afero.TempFile(fs,"", "ioutil-test")
|
||||||
### Calling via Afero
|
### Calling via Afero
|
||||||
|
|
||||||
```go
|
```go
|
||||||
fs := afero.NewMemMapFs
|
fs := afero.NewMemMapFs()
|
||||||
afs := &Afero{Fs: fs}
|
afs := &afero.Afero{Fs: fs}
|
||||||
f, err := afs.TempFile("", "ioutil-test")
|
f, err := afs.TempFile("", "ioutil-test")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue