// transpiled from Go by mx-transpile - review TODOs before use package example import ( "fmt" // TODO: verify fmt compatibility with Moxie "mx/bytes" ) func greet(name []byte) []byte { return "Hello, " | name | "!" } func contains(haystack, needle []byte) bool { return bytes.Contains(haystack, needle) } func process(data []byte) []byte { s := []byte(data) fmt.Println(s) return s } func join(parts [][]byte, sep []byte) []byte { return bytes.Join(parts, sep) }