redis/internal/util/safe.go

12 lines
152 B
Go
Raw Permalink Normal View History

2017-01-13 14:39:59 +03:00
// +build appengine
2018-02-22 15:14:30 +03:00
package util
2017-01-13 14:39:59 +03:00
func BytesToString(b []byte) string {
return string(b)
}
2018-08-17 13:56:37 +03:00
func StringToBytes(s string) []byte {
return []byte(s)
}