From 89537ecf478f4402569a9ea50c23ad3ab4d9de98 Mon Sep 17 00:00:00 2001 From: Aashish Kapur Date: Wed, 9 Oct 2019 14:16:05 -0700 Subject: [PATCH] Update Readme.md to correct code example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ae4a3f8..ab241cd 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ billy's filesystem implementation. func LoadToMemory(origin billy.Filesystem, path string) (*memory.Memory, error) { memory := memory.New() - files, err := origin.ReadDir("/") + files, err := origin.ReadDir(path) if err != nil { return nil, err }