From 34e0e4476d5e8902e8cad9c90af5dfe630662a65 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 9 Oct 2016 14:24:16 +0200 Subject: Simplify interface --- command.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'command.go') diff --git a/command.go b/command.go index 15c4858..9f20c45 100644 --- a/command.go +++ b/command.go @@ -1,6 +1,7 @@ package main import ( + "fmt" "log" "strings" @@ -9,7 +10,7 @@ import ( type Commander interface { irc.Handler - Help() string + fmt.Stringer } const maxLen = 500 -- cgit v1.2.3