mirror of https://github.com/spf13/afero.git
Merge pull request #139 from snwfdhmp/patch-1
Improve code block styling in README.md
This commit is contained in:
commit
b48f4f807b
|
@ -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