From e6d4f5bd380bd84d65d4a156f309fcd970775f8d Mon Sep 17 00:00:00 2001 From: Dimitrij Denissenko Date: Wed, 12 Oct 2016 13:11:09 +0100 Subject: [PATCH] Remove static import --- README.md | 26 +++++++++++++++++++++++++- redis.go | 2 +- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69f0b7a2..db120c98 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/redis.go b/redis.go index 113a6f3f..e866a5ca 100644 --- a/redis.go +++ b/redis.go @@ -1,4 +1,4 @@ -package redis // import "gopkg.in/redis.v5" +package redis import ( "fmt"