20 lines
282 B
Go
Raw Normal View History

2018-10-28 03:46:55 +00:00
package main
import (
"fmt"
"github.com/animenotifier/arn"
)
func main() {
languages := map[string]int{}
for user := range arn.StreamUsers() {
languages[user.Language]++
}
for language, users := range languages {
fmt.Printf("* [%s] %d users\n", language, users)
}
}