File: util_appengine.go

package info (click to toggle)
golang-github-valyala-quicktemplate 1.7.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 468 kB
  • sloc: xml: 15; makefile: 14
file content (11 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
// +build appengine appenginevm

package quicktemplate

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

func unsafeBytesToStr(z []byte) string {
	return string(z)
}