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

12 lines
153 B
Go

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