render

package
v0.0.0-...-f2b64ca Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Template string
}

Config is a renderer config

type Renderer

type Renderer interface {
	Render(feed *models.Feed) (string, error)
}

Renderer is a interface that provide render to text

func NewRenderer

func NewRenderer(c Config) (Renderer, error)

NewRenderer return a renderer according to config

Jump to

Keyboard shortcuts

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