1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-28 15:32:20 +00:00

Merge pull request #84 from fuwensun/ch1-06-02

ch1:06节例子改错
This commit is contained in:
chai2010 2018-06-15 16:52:37 +08:00 committed by GitHub
commit d9db263245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -401,7 +401,7 @@ type gatefs struct {
func (fs gatefs) Lstat(p string) (os.FileInfo, error) {
fs.enter()
defer fs.leave()
return fs.fs.Lstat(p)
return fs.Lstat(p)
}
```