mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -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 main
|
|
|
|
// For testing
|
|
func InitEcho() {
|
|
Sub("echo", func(buf []byte) []byte {
|
|
Pub("echo", buf)
|
|
return nil
|
|
})
|
|
}
|