summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/valyala/fasttemplate/unsafe_gae.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/valyala/fasttemplate/unsafe_gae.go')
-rw-r--r--vendor/github.com/valyala/fasttemplate/unsafe_gae.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/valyala/fasttemplate/unsafe_gae.go b/vendor/github.com/valyala/fasttemplate/unsafe_gae.go
new file mode 100644
index 00000000..cc4ce151
--- /dev/null
+++ b/vendor/github.com/valyala/fasttemplate/unsafe_gae.go
@@ -0,0 +1,11 @@
+// +build appengine
+
+package fasttemplate
+
+func unsafeBytes2String(b []byte) string {
+ return string(b)
+}
+
+func unsafeString2Bytes(s string) []byte {
+ return []byte(s)
+}