mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04: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
|
|
})
|
|
}
|