Merge pull request #152 from go-redis/fix/appengine-unsafe

Don't use unsafe on appengine. Fixes #151.
This commit is contained in:
Vladimir Mihailenco 2015-08-21 11:54:55 +03:00
commit 5710d68852
2 changed files with 9 additions and 0 deletions

7
safe.go Normal file
View File

@ -0,0 +1,7 @@
// +build appengine
package redis
func bytesToString(b []byte) string {
return string(b)
}

View File

@ -1,3 +1,5 @@
// +build !appengine
package redis
import (