14 lines
238 B
Go
14 lines
238 B
Go
package main
|
|
|
|
import "github.com/animenotifier/notify.moe/arn"
|
|
|
|
func main() {
|
|
defer arn.Node.Close()
|
|
|
|
for user := range arn.StreamUsers() {
|
|
settings := user.Settings()
|
|
settings.Notification.Email = user.Email
|
|
settings.Save()
|
|
}
|
|
}
|