Don't use unsafe on appengine. Fixes #151.

This commit is contained in:
Vladimir Mihailenco 2015-08-21 11:23:52 +03:00
parent 391c319c78
commit b7e0e5aa0d
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 (