post_generator

package
v0.0.0-...-9d5fb5c Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessNewPost

func ProcessNewPost(jsonPath string) error

func ProcessRaw

func ProcessRaw(sqlPath string) error

Types

type Image

type Image struct {
	// contains filtered or unexported fields
}

func (Image) Generate

func (i Image) Generate() error

type ImageGenerator

type ImageGenerator interface {
	Generate()
}

type Post

type Post struct {
	Title string
	// contains filtered or unexported fields
}

func (Post) Generate

func (p Post) Generate(questionPostToOpenAi string) (Post, error)

func (*Post) ParseChatGptResponse

func (p *Post) ParseChatGptResponse() error

type Poster

type Poster interface {
	Generate()
}

Jump to

Keyboard shortcuts

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