tweetseditor

package
v0.0.51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Editor

type Editor interface {
	Edit(ctx context.Context) context.Context
	SubscribeEdited() <-chan string
}

func NewEditor

func NewEditor(client *openai.Client, db repo, sendInterval, cleanInterval time.Duration, log log.Logger) Editor

type Tweet added in v0.0.4

type Tweet struct {
	Content              string `json:"telegram_message"`
	Link                 string `json:"link"`
	NewUsefulInformation bool   `json:"new_useful_information"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL