Initial commit
This commit is contained in:
12
vendor/github.com/go-redis/redis/v8/internal/util/safe.go
generated
vendored
Normal file
12
vendor/github.com/go-redis/redis/v8/internal/util/safe.go
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
//go:build appengine
|
||||
// +build appengine
|
||||
|
||||
package util
|
||||
|
||||
func BytesToString(b []byte) string {
|
||||
return string(b)
|
||||
}
|
||||
|
||||
func StringToBytes(s string) []byte {
|
||||
return []byte(s)
|
||||
}
|
||||
Reference in New Issue
Block a user