diff options
Diffstat (limited to 'teleirc/matterbridge/vendor/github.com/valyala/fasttemplate/unsafe_gae.go')
| -rw-r--r-- | teleirc/matterbridge/vendor/github.com/valyala/fasttemplate/unsafe_gae.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/teleirc/matterbridge/vendor/github.com/valyala/fasttemplate/unsafe_gae.go b/teleirc/matterbridge/vendor/github.com/valyala/fasttemplate/unsafe_gae.go new file mode 100644 index 0000000..cc4ce15 --- /dev/null +++ b/teleirc/matterbridge/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) +} |
