1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/echo.go

12 lines
209 B
Go
Raw Normal View History

2018-05-28 21:50:44 -04:00
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
2018-05-29 04:28:32 -04:00
package deno
2018-05-23 16:45:01 -04:00
// For testing
func InitEcho() {
Sub("echo", func(buf []byte) []byte {
Pub("echo", buf)
return nil
})
}