1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-23 16:40:54 +00:00
Beego/vendor/github.com/go-redis/redis/internal/util/safe.go
2018-11-09 12:37:28 +08:00

12 lines
152 B
Go

// +build appengine
package util
func BytesToString(b []byte) string {
return string(b)
}
func StringToBytes(s string) []byte {
return []byte(s)
}