diff options
Diffstat (limited to 'vendor/github.com/uptrace/bun/extra/bunotel/safe.go')
-rw-r--r-- | vendor/github.com/uptrace/bun/extra/bunotel/safe.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/uptrace/bun/extra/bunotel/safe.go b/vendor/github.com/uptrace/bun/extra/bunotel/safe.go new file mode 100644 index 000000000..fab151a78 --- /dev/null +++ b/vendor/github.com/uptrace/bun/extra/bunotel/safe.go @@ -0,0 +1,11 @@ +// +build appengine + +package internal + +func bytesToString(b []byte) string { + return string(b) +} + +func stringToBytes(s string) []byte { + return []byte(s) +} |