add message

This commit is contained in:
2025-03-15 19:43:17 +09:00
parent 03d847c969
commit 6c4239f5d0

View File

@@ -14,6 +14,8 @@ func main() {
tweetchannel := make(chan string, 1) tweetchannel := make(chan string, 1)
d.BeginRead(tweetchannel) d.BeginRead(tweetchannel)
d.Write("tweetdistributor started")
var outputs []output.OutputInterface var outputs []output.OutputInterface
outputs = append(outputs, output.TwitterOutput(os.Getenv("TW_ACCESS_TOKEN"), os.Getenv("TW_ACCESS_SECRET"))) outputs = append(outputs, output.TwitterOutput(os.Getenv("TW_ACCESS_TOKEN"), os.Getenv("TW_ACCESS_SECRET")))
outputs = append(outputs, output.BlueskyOutput(os.Getenv("BSKY_IDENTIFIER"), os.Getenv("BSKY_PASSWORD"))) outputs = append(outputs, output.BlueskyOutput(os.Getenv("BSKY_IDENTIFIER"), os.Getenv("BSKY_PASSWORD")))