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