tang

package
v0.0.0-...-095bff8 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
}

func New

func New() *Handler

func (*Handler) HandleJSONs

func (h *Handler) HandleJSONs(entrys []utils.Entry, filename string) error

func (*Handler) IsPoem

func (h *Handler) IsPoem(path string) bool

type TangPoem

type TangPoem struct {
	Author     *string   `json:"author"`
	Paragraphs []*string `json:"paragraphs"`
	Title      *string   `json:"title"`
	ID         *string   `json:"id"`
}

Jump to

Keyboard shortcuts

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