From a416bab71fd6bd16f7f73385a1373105d34f968f Mon Sep 17 00:00:00 2001 From: Martin Thielecke Date: Fri, 20 May 2022 17:46:10 +0200 Subject: [PATCH] remove needless code --- follower.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/follower.go b/follower.go index 309e2e6..dd7a3fc 100644 --- a/follower.go +++ b/follower.go @@ -82,19 +82,4 @@ func (f *TwitchFollowers) SaveFiles() { saveContent("followers", "total", strconv.FormatInt(f.Total, 10)) saveContent("followers", "last_follower", f.Data[0].FromName) saveJSON("followers", "complete_list", f) - - /* - fs := []string{} - ids := []string{} - - for _, follower := range f.Data { - name := strings.ToLower(follower.FromName) - id := follower.FromID - fs = append(fs, name) - ids = append(ids, id) - } - - saveJSON("followers", "inactive", fs) - saveContent("followers", "inactive_ids", strings.Join(ids, "\n")) - */ }