remove needless code

master
Martin Thielecke 5 months ago
parent 27016874c9
commit a416bab71f
Signed by: mthie
GPG Key ID: D1D25A85C8604DFB
  1. 15
      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"))
*/
}

Loading…
Cancel
Save