You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
173 B

  1. //go:build appengine
  2. // +build appengine
  3. package util
  4. func BytesToString(b []byte) string {
  5. return string(b)
  6. }
  7. func StringToBytes(s string) []byte {
  8. return []byte(s)
  9. }