From d65bad097525ed88b17f79f0cada1e3c31b084f7 Mon Sep 17 00:00:00 2001 From: becca <1693631003@qq.com> Date: Mon, 15 Oct 2018 19:48:24 +0800 Subject: [PATCH] fs.Lstat(p) to fs.fs.Lstat(p) --- ch1-basic/ch1-06-goroutine.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch1-basic/ch1-06-goroutine.md b/ch1-basic/ch1-06-goroutine.md index a197eae..b5fadb9 100644 --- a/ch1-basic/ch1-06-goroutine.md +++ b/ch1-basic/ch1-06-goroutine.md @@ -376,7 +376,7 @@ type gatefs struct { func (fs gatefs) Lstat(p string) (os.FileInfo, error) { fs.enter() defer fs.leave() - return fs.Lstat(p) + return fs.fs.Lstat(p) } ```