diff options
-rw-r--r-- | ping.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ package goctl type cmdPing struct{} -func (cmd *cmdPing) Name() string { +func (cmd cmdPing) Name() string { return "ping" } @@ -10,7 +10,7 @@ func (cmd cmdPing) Help() string { return "checks whether the connection is working" } -func (cmd *cmdPing) Run(_ *Goctl, _ []string) string { +func (cmd cmdPing) Run(_ *Goctl, _ []string) string { return "pong" } |