From 139e50e29af82d1d998f0e38fabf4947c668acc6 Mon Sep 17 00:00:00 2001 From: "Wayne E. Seguin" Date: Thu, 15 Jan 2015 15:33:25 -0500 Subject: [PATCH] 'fs' => 'afero' Changed remaining 'fs' to 'afero' in README. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4162335..e7d93b2 100644 --- a/README.md +++ b/README.md @@ -51,14 +51,14 @@ operation and a mock filesystem during testing or as needed. ### MemMapFs -Fs also provides a fully atomic memory backed filesystem perfect for use in +Afero also provides a fully atomic memory backed filesystem perfect for use in mocking and to speed up unnecessary disk io when persistence isn’t necessary. It is fully concurrent and will work within go routines safely. ### MemFile -As part of MemMapFs, fs also provides an atomic, fully concurrent memory +As part of MemMapFs, Afero also provides an atomic, fully concurrent memory backed file implementation. This can be used in other memory backed file systems with ease. Plans are to add a radix tree memory stored file system using MemFile. @@ -140,7 +140,7 @@ returns an http.File type. Afero provides an httpFs file system which satisfies this requirement. Any Afero FileSystem can be used as an httpFs. - httpFs := &fs.HttpFs{SourceFs: } + httpFs := &afero.HttpFs{SourceFs: } fileserver := http.FileServer(httpFs.Dir())) http.Handle("/", fileserver)