distribution/vendor/github.com/redis/go-redis/v9/internal/util/safe.go

13 lines
173 B
Go
Raw Normal View History

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