content

package
v0.0.0-...-7b61f49 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(tags []string, urlL int)

func RegisterAPI

func RegisterAPI(contentAPI ContentAPI)

Types

type ByRandom

type ByRandom []string

func (ByRandom) Len

func (a ByRandom) Len() int

func (ByRandom) Less

func (a ByRandom) Less(i, j int) bool

func (ByRandom) Swap

func (a ByRandom) Swap(i, j int)

type Content

type Content struct {
	Text     string
	Url      string
	Hashtags string
}

func GenerateTweetContent

func GenerateTweetContent() (Content, error)

type ContentAPI

type ContentAPI interface {
	// contains filtered or unexported methods
}

type KimonoContent

type KimonoContent struct {
	Url string
}

type RedditContent

type RedditContent struct {
	Url string
}

Jump to

Keyboard shortcuts

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