Fix some code bugs in the README.md.

This commit is contained in:
Michael John 2017-10-05 21:34:59 -04:00 committed by GitHub
parent 3de492c3cd
commit 3e504d357f
1 changed files with 2 additions and 2 deletions

View File

@ -166,8 +166,8 @@ f, err := afero.TempFile(fs,"", "ioutil-test")
### Calling via Afero
```go
fs := afero.NewMemMapFs
afs := &Afero{Fs: fs}
fs := afero.NewMemMapFs()
afs := &afero.Afero{Fs: fs}
f, err := afs.TempFile("", "ioutil-test")
```