From 070b652d1fa21dc46486180e5a4a1627a998b4d4 Mon Sep 17 00:00:00 2001 From: Michael Christenson II Date: Thu, 21 Dec 2023 13:18:03 -0500 Subject: [PATCH] Add documentation comment for ProgressBar Co-authored-by: Sergiu Ghitea <28300158+sergiught@users.noreply.github.com> --- internal/ansi/progress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ansi/progress.go b/internal/ansi/progress.go index 37ddd3d9d..0fb26e639 100644 --- a/internal/ansi/progress.go +++ b/internal/ansi/progress.go @@ -5,7 +5,7 @@ import ( "github.com/schollz/progressbar/v3" ) - +// ProgressBar will display progress indication for the given items. func ProgressBar[T comparable](desc string, items []T, fn func(int, T) error) error { switch len(items) { case 0: