Merge pull request #138 from dangerousHobo/patch-1

Fix some code bugs in the README.md.
This commit is contained in:
Martin Bertschler 2017-10-08 20:27:26 +02:00 committed by GitHub
commit e67d870304
1 changed files with 2 additions and 2 deletions

View File

@ -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")
``` ```