go-serviceman/vendor/github.com/valyala/fasttemplate/unsafe_gae.go

12 lines
170 B
Go

// +build appengine
package fasttemplate
func unsafeBytes2String(b []byte) string {
return string(b)
}
func unsafeString2Bytes(s string) []byte {
return []byte(s)
}