summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ping.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ping.go b/ping.go
index 48294ea..9680f4c 100644
--- a/ping.go
+++ b/ping.go
@@ -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"
}