File: util_appengine.go

package info (click to toggle)
golang-github-valyala-quicktemplate 1.6.3%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 472 kB
  • sloc: makefile: 15; xml: 15
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)
}