From 9b70cb6996a7b9e151e23dc9e49cc8a1114391d5 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 20 Dec 2016 23:17:09 +0100 Subject: Remove help stringer --- command.go | 2 -- last.go | 4 ---- 2 files changed, 6 deletions(-) diff --git a/command.go b/command.go index 9f20c45..b098b1b 100644 --- a/command.go +++ b/command.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "log" "strings" @@ -10,7 +9,6 @@ import ( type Commander interface { irc.Handler - fmt.Stringer } const maxLen = 500 diff --git a/last.go b/last.go index 8cf12fa..aa326e4 100644 --- a/last.go +++ b/last.go @@ -23,10 +23,6 @@ func (Last) Handle(conn *irc.Conn, line *irc.Line) { }) } -func (Last) String() string { - return "Return last 10 messages" -} - func Push(line *irc.Line) { buffer.Value = line buffer = buffer.Next() -- cgit v1.2.3