Shop improvements
This commit is contained in:
@ -12,18 +12,15 @@ func main() {
|
||||
|
||||
// Get a stream of all users
|
||||
allUsers, err := arn.StreamUsers()
|
||||
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
arn.PanicOnError(err)
|
||||
|
||||
// Iterate over the stream
|
||||
for user := range allUsers {
|
||||
// exists, err := arn.DB.Exists("UserFollows", user.ID)
|
||||
exists, err := arn.DB.Exists("UserFollows", user.ID)
|
||||
|
||||
// if err != nil || exists {
|
||||
// continue
|
||||
// }
|
||||
if err != nil || exists {
|
||||
continue
|
||||
}
|
||||
|
||||
fmt.Println(user.Nick)
|
||||
|
||||
|
Reference in New Issue
Block a user