Fixed comments for golint

This commit is contained in:
Michael Teuscher 2019-01-22 23:30:18 +01:00
parent 5e0e08b471
commit 010ad3fc5b
No known key found for this signature in database
GPG Key ID: 3F38EF5228BAF9AF
1 changed files with 2 additions and 2 deletions

View File

@ -275,12 +275,12 @@ func (lc *LineChart) drawSeries(cvs *canvas.Canvas, xd *axes.XDetails, yd *axes.
return nil
}
// Implements widgetapi.Widget.Keyboard.
// Keyboard implements widgetapi.Widget.Keyboard.
func (lc *LineChart) Keyboard(k *terminalapi.Keyboard) error {
return errors.New("the LineChart widget doesn't support keyboard events")
}
// Implements widgetapi.Widget.Mouse.
// Mouse implements widgetapi.Widget.Mouse.
func (lc *LineChart) Mouse(m *terminalapi.Mouse) error {
return errors.New("the LineChart widget doesn't support mouse events")
}