This website requires JavaScript.
Explore
Help
Sign In
mirror
/
redis
mirror of
https://github.com/go-redis/redis.git
Watch
1
Star
0
Fork
You've already forked redis
1
Code
Issues
Packages
Projects
Releases
Wiki
Activity
d2689feb56
redis
/
unsafe.go
8 lines
95 B
Go
Raw
Normal View
History
Unescape
Escape
Don't use unsafe on appengine. Fixes #151.
2015-08-21 11:23:52 +03:00
// +build !appengine
Use unsafe for bytes->string conversion.
2015-07-18 10:39:03 +03:00
package
redis
func
bytesToString
(
b
[
]
byte
)
string
{
Disable unsafe.
2015-08-26 09:38:44 +03:00
return
string
(
b
)
Use unsafe for bytes->string conversion.
2015-07-18 10:39:03 +03:00
}