From e61bbe047731b58f6bb030cc4309d9c4ca6f3c4c Mon Sep 17 00:00:00 2001 From: filifa Date: Wed, 3 Jul 2024 20:56:08 -0500 Subject: [PATCH] clear the loop to clear my head --- main.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/main.go b/main.go index 585180d..6ca059d 100644 --- a/main.go +++ b/main.go @@ -71,23 +71,5 @@ func main() { if err != nil { log.Fatal(err) } - - err = game.Update(&ts, p.UpdateId) - if err != nil { - log.Println(err) - continue - } - - // FIXME: this will output the same play multiple times - for _, play := range game.Plays { - result := play.Result - if result.Event != "" { - // TODO: figure out format - // maybe a string format with play/result type? - // FIXME: proper score on patch updates - // FIXME: repeated output on feed updates - fmt.Printf("%v (%v-%v)\n", result.Description, result.AwayScore, result.HomeScore) - } - } } }