From 3e504d357fefbf6fde31b28809ae66b7ff378c62 Mon Sep 17 00:00:00 2001 From: Michael John Date: Thu, 5 Oct 2017 21:34:59 -0400 Subject: [PATCH] Fix some code bugs in the README.md. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aef6962..4226a6b 100644 --- a/README.md +++ b/README.md @@ -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") ```