Remove static import

This commit is contained in:
Dimitrij Denissenko 2016-10-12 13:11:09 +01:00
parent 0c5e085895
commit e6d4f5bd38
2 changed files with 26 additions and 2 deletions

View File

@ -22,7 +22,31 @@ Examples: http://godoc.org/gopkg.in/redis.v5#pkg-examples.
Install:
go get gopkg.in/redis.v5
```shell
go get gopkg.in/redis.v5
```
Import:
```go
import "gopkg.in/redis.v5"
```
## Vendoring
If you are using a vendoring tool with support for semantic versioning
e.g. [glide](https://github.com/Masterminds/glide), you can import this
package via its GitHub URL:
```yaml
- package: github.com/go-redis/redis
version: ^5.0.0
```
WARNING: please note that by importing `github.com/go-redis/redis`
directly (without semantic versioning constrol) you are in danger of
running in the breaking API changes. Use carefully and at your own
risk!
## Quickstart

View File

@ -1,4 +1,4 @@
package redis // import "gopkg.in/redis.v5"
package redis
import (
"fmt"