2018-10-28 03:46:55 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
2019-06-03 09:32:43 +00:00
|
|
|
"github.com/animenotifier/notify.moe/arn"
|
2018-10-28 03:46:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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)
|
|
|
|
}
|
|
|
|
}
|