1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-05 23:10:54 +00:00
Beego/vendor/github.com/go-redis/redis/internal/util/safe.go

12 lines
152 B
Go
Raw Normal View History

2018-11-09 04:37:28 +00:00
// +build appengine
package util
func BytesToString(b []byte) string {
return string(b)
}
func StringToBytes(s string) []byte {
return []byte(s)
}