mirror of
https://github.com/arnaucube/argos.git
synced 2026-02-08 11:36:40 +01:00
small update, code cleaned
This commit is contained in:
@@ -59,7 +59,6 @@ func printDays(days map[string]int) {
|
||||
func analyzeDays(tweets []twitter.Tweet) {
|
||||
var days = make(map[string]int)
|
||||
for _, v := range tweets {
|
||||
//fmt.Println(v.CreatedAt)
|
||||
day := strings.Split(v.CreatedAt, " ")[0]
|
||||
if _, ok := days[day]; ok {
|
||||
days[day] = days[day] + 1
|
||||
|
||||
Reference in New Issue
Block a user