File: unsafe_gae.go

package info (click to toggle)
golang-github-valyala-fasttemplate 1.2.2%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 124 kB
  • sloc: makefile: 2
file content (11 lines) | stat: -rw-r--r-- 170 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
// +build appengine

package fasttemplate

func unsafeBytes2String(b []byte) string {
	return string(b)
}

func unsafeString2Bytes(s string) []byte {
	return []byte(s)
}