This website requires JavaScript.
Explore
Help
Sign In
re
/
redis
forked from
mirror/redis
Watch
1
Star
0
Fork
You've already forked redis
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
bd58c2dde4
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
}