From d98f579048b997871d449b6de28087de259242f4 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Tue, 14 May 2019 16:01:59 +0200 Subject: [PATCH] ui/layout: remove unused layout.Interface Signed-off-by: Elias Naur --- ui/layout/list.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ui/layout/list.go b/ui/layout/list.go index 08edb946..9010479c 100644 --- a/ui/layout/list.go +++ b/ui/layout/list.go @@ -42,11 +42,6 @@ type List struct { size image.Point } -type Interface interface { - Len() int - At(i int) Widget -} - func (l *List) Init(ops *ui.Ops, cs Constraints, len int) (int, bool) { l.maxSize = 0 l.children = l.children[:0]