mirror of
https://github.com/go-gitea/gitea.git
synced 2024-10-31 08:37:35 -04:00
12 lines
152 B
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)
|
||
|
}
|