28 lines
698 B
Go
Raw Permalink Normal View History

2018-03-10 12:15:06 +00:00
package main
func main() {
2018-03-10 12:23:56 +00:00
// defer arn.Node.Close()
2018-03-10 12:15:06 +00:00
2018-03-10 12:23:56 +00:00
// for track := range arn.StreamSoundTracks() {
// if track.Created > "2018-03-09" {
// continue
// }
2018-03-10 12:15:06 +00:00
2018-03-10 12:23:56 +00:00
// fmt.Println(track.Created, track.Title)
// logEntry := arn.NewEditLogEntry(track.CreatedBy, "create", "SoundTrack", track.ID, "", "", "")
// logEntry.Created = track.Created
// logEntry.Save()
// }
2018-03-10 12:15:06 +00:00
2018-03-10 12:23:56 +00:00
// for quote := range arn.StreamQuotes() {
// if quote.Created > "2018-03-09" {
// continue
// }
2018-03-10 12:15:06 +00:00
2018-03-10 12:23:56 +00:00
// fmt.Println(quote.Created, quote.Text.English)
// logEntry := arn.NewEditLogEntry(quote.CreatedBy, "create", "Quote", quote.ID, "", "", "")
// logEntry.Created = quote.Created
// logEntry.Save()
// }
2018-03-10 12:15:06 +00:00
}