mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
11 lines
209 B
Go
11 lines
209 B
Go
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
|
|
// All rights reserved. MIT License.
|
|
package deno
|
|
|
|
// For testing
|
|
func InitEcho() {
|
|
Sub("echo", func(buf []byte) []byte {
|
|
Pub("echo", buf)
|
|
return nil
|
|
})
|
|
}
|