redis/internal/safe.go

12 lines
156 B
Go
Raw Normal View History

2017-01-13 14:39:59 +03:00
// +build appengine
package internal
func BytesToString(b []byte) string {
return string(b)
}
2017-06-02 16:19:43 +03:00
func StringToBytes(s string) []byte {
return []byte(s)
}