mirror of https://github.com/spf13/afero.git
Merge pull request #138 from dangerousHobo/patch-1
Fix some code bugs in the README.md.
This commit is contained in:
commit
e67d870304
|
@ -169,8 +169,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