forked from NYANDEV/forgejo
e7d7dcb090
* add redis queue * finished indexer redis queue * add redis vendor * fix vet * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: lunny <xiaolunwen@gmail.com> * switch to go mod * Update required changes for new logging func signatures
11 lines
152 B
Go
Vendored
11 lines
152 B
Go
Vendored
// +build appengine
|
|
|
|
package util
|
|
|
|
func BytesToString(b []byte) string {
|
|
return string(b)
|
|
}
|
|
|
|
func StringToBytes(s string) []byte {
|
|
return []byte(s)
|
|
}
|