Skip to content

Commit

Permalink
Fix typos in README code samples
Browse files Browse the repository at this point in the history
  • Loading branch information
cksriprajittichai committed Aug 12, 2020
1 parent 799ff74 commit 0caf874
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ operation and a mock filesystem during testing or as needed.

```go
appfs := afero.NewOsFs()
appfs.MkdirAll("src/a", 0755))
appfs.MkdirAll("src/a", 0755)
```

## Memory Backed Storage
Expand All @@ -241,7 +241,7 @@ safely.

```go
mm := afero.NewMemMapFs()
mm.MkdirAll("src/a", 0755))
mm.MkdirAll("src/a", 0755)
```

#### InMemoryFile
Expand Down Expand Up @@ -306,7 +306,7 @@ Any Afero FileSystem can be used as an httpFs.

```go
httpFs := afero.NewHttpFs(<ExistingFS>)
fileserver := http.FileServer(httpFs.Dir(<PATH>)))
fileserver := http.FileServer(httpFs.Dir(<PATH>))
http.Handle("/", fileserver)
```

Expand Down

0 comments on commit 0caf874

Please sign in to comment.