Skip to content

Commit

Permalink
docs: fix example
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Feb 4, 2021
1 parent 10aa3f9 commit 91aabea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func TestSomething(t *testing.T) {
// fs.WalkDir(tmpfs, ".", func(path string, d fs.DirEntry, err error) error { return nil })

// and read files of course:
bts, _ := fs.ReadFile(testfile)
bts, _ := fs.ReadFile(tmpfs, testfile)
fmt.Println(string(bts))
}
```
Expand Down

0 comments on commit 91aabea

Please sign in to comment.