remove needless code
This commit is contained in:
parent
27016874c9
commit
a416bab71f
15
follower.go
15
follower.go
|
@ -82,19 +82,4 @@ func (f *TwitchFollowers) SaveFiles() {
|
||||||
saveContent("followers", "total", strconv.FormatInt(f.Total, 10))
|
saveContent("followers", "total", strconv.FormatInt(f.Total, 10))
|
||||||
saveContent("followers", "last_follower", f.Data[0].FromName)
|
saveContent("followers", "last_follower", f.Data[0].FromName)
|
||||||
saveJSON("followers", "complete_list", f)
|
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"))
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user