From e14ec70116057f682d6bd8016f1ff34b0c867560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A1=B9=E8=B6=85?= Date: Tue, 10 Dec 2013 02:05:30 +0800 Subject: [PATCH] redis.Error should be satisfy with error is should be a struct not an interface. --- error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error.go b/error.go index 64eafbb..6a6b3cd 100644 --- a/error.go +++ b/error.go @@ -27,7 +27,7 @@ import ( // Go-Redis API level error type // -type Error interface { +type Error struct { error // if true Error is a RedisError IsRedisError() bool