Merge pull request #29 from darrenmcc/master
added go syntax highlighting to README
This commit is contained in:
commit
1881a9bccb
@ -19,6 +19,7 @@ one) to recover from downtime quickly. (See the docs for `NewFrom()` for caveats
|
|||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
|
```go
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/patrickmn/go-cache"
|
"github.com/patrickmn/go-cache"
|
||||||
@ -99,7 +100,7 @@ one) to recover from downtime quickly. (See the docs for `NewFrom()` for caveats
|
|||||||
// 2
|
// 2
|
||||||
|
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### Reference
|
### Reference
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user