this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

print out repo migrate events in read-stream (#428)

authored by

Whyrusleeping and committed by
GitHub
536f1dfa ab2c4b39

+13
+13
cmd/gosky/main.go
··· 277 277 278 278 return nil 279 279 }, 280 + RepoMigrate: func(migrate *comatproto.SyncSubscribeRepos_Migrate) error { 281 + if jsonfmt { 282 + b, err := json.Marshal(migrate) 283 + if err != nil { 284 + return err 285 + } 286 + fmt.Println(string(b)) 287 + } else { 288 + fmt.Printf("(%d) RepoMigrate: %s moving to: %s\n", migrate.Seq, migrate.Did, *migrate.MigrateTo) 289 + } 290 + 291 + return nil 292 + }, 280 293 RepoHandle: func(handle *comatproto.SyncSubscribeRepos_Handle) error { 281 294 if jsonfmt { 282 295 b, err := json.Marshal(handle)