added go syntax highlighting to README
This commit is contained in:
parent
5849ccb308
commit
da6326cd69
@ -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