|
@ -57,7 +57,7 @@ func main() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func logListedChanges(changes *services.ChangeService) { |
|
|
func logListedChanges(changes *services.ChangeService) { |
|
|
sub := changes.Subscribe(context.Background(), models.ChangeFilter{PassAll: true}) |
|
|
|
|
|
|
|
|
sub := changes.Subscribe(context.Background(), models.ChangeFilter{}) |
|
|
|
|
|
|
|
|
for change := range sub { |
|
|
for change := range sub { |
|
|
log.Printf("Change: Author=%#+v Model=%#+v Op=%#+v", change.Author, change.Model, change.Op) |
|
|
log.Printf("Change: Author=%#+v Model=%#+v Op=%#+v", change.Author, change.Model, change.Op) |
|
|