mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-11 18:14:15 +01: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)
|
||
|
}
|