This is here soley because we have to use psudo ids for retweets.
(id *int64)
| 604 | |
| 605 | // This is here soley because we have to use psudo ids for retweets. |
| 606 | func TwitterMsgIdToBluesky(id *int64) (*string, *time.Time, *string, error) { |
| 607 | // Get the letter ID from the database |
| 608 | uri, createdAt, retweetUserId, err := db_controller.GetTwitterIDFromDatabase(id) |
| 609 | if err != nil { |
| 610 | return nil, nil, nil, err |
| 611 | } |
| 612 | |
| 613 | return uri, createdAt, retweetUserId, nil |
| 614 | } |
| 615 | |
| 616 | // FormatTime converts Go's time.Time into the format "Wed Sep 01 00:00:00 +0000 2021" |
| 617 | func TwitterTimeConverter(t time.Time) string { |
no test coverage detected