From 536e49c8acc13fd6aa1e86f3353a0a3fb0aeedfe Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Tue, 10 Jan 2023 08:51:25 -0700 Subject: [PATCH] gofmt --- feed.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/feed.go b/feed.go index 047e36d..55cf66e 100644 --- a/feed.go +++ b/feed.go @@ -97,9 +97,9 @@ func buildFeed(feed *Feed, nick, data string) error { func printFeed(feed *Feed, max int64) { sort.Sort(*feed) for i, entry := range *feed { - if int64(i) >= max { - return - } + if int64(i) >= max { + return + } fmt.Printf("[%s] <%s> %s\n", entry.Timestamp.Format(time.Stamp), entry.Nick, entry.Post) } }