floridaman

package
v0.0.0-...-47b48c1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Article

type Article struct {
	Title  string `json:"title"`
	Link   string `json:"link"`
	Source string `json:"source"`
}

type ArticleStorage

type ArticleStorage interface {
	Random(context.Context) (Article, error)
	RawRandom(context.Context) ([]byte, error)
	Save(context.Context, Article)
	ExistsByTitle(context.Context, string) (bool, error)
}

Jump to

Keyboard shortcuts

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