mirror of https://github.com/spf13/afero.git
Minor improvement
This commit is contained in:
parent
3de492c3cd
commit
ea5fe66f02
|
@ -81,7 +81,10 @@ So if my application before had:
|
||||||
```go
|
```go
|
||||||
os.Open('/tmp/foo')
|
os.Open('/tmp/foo')
|
||||||
```
|
```
|
||||||
We would replace it with a call to `AppFs.Open('/tmp/foo')`.
|
We would replace it with:
|
||||||
|
```go
|
||||||
|
AppFs.Open('/tmp/foo')
|
||||||
|
```
|
||||||
|
|
||||||
`AppFs` being the variable we defined above.
|
`AppFs` being the variable we defined above.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue