forked from gitea/gitea
1
0
Fork 0
gitea/vendor/github.com/go-redis/redis/internal/util/safe.go

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)
}