From 6ab0258584a769cbc44a4f991a0c07fceab8c719 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Mon, 2 Feb 2026 07:55:18 -0800 Subject: [PATCH] gofmt --- ui/util/widgetpool.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/util/widgetpool.go b/ui/util/widgetpool.go index c3f53f9..8f373c8 100644 --- a/ui/util/widgetpool.go +++ b/ui/util/widgetpool.go @@ -32,8 +32,8 @@ const ( // A pool to share commonly-used widgets across pages to reduce // creation of new widgets and memory allocations. type WidgetPool struct { - mut sync.Mutex - pools [][]pooledWidget + mut sync.Mutex + pools [][]pooledWidget } type pooledWidget struct { @@ -43,7 +43,7 @@ type pooledWidget struct { func NewWidgetPool(ctx context.Context) *WidgetPool { p := &WidgetPool{ - pools: make([][]pooledWidget, numWidgetTypes), + pools: make([][]pooledWidget, numWidgetTypes), } go func() { t := time.NewTicker(2 * time.Minute)