mirror of
https://github.com/go-gitea/gitea
synced 2024-11-09 03:34:24 +00: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)
|
||
|
}
|