htmlb

package module
v0.0.0-...-6b03ade Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

README

htmlb

A Go parser for HTML Blog documents. Pass an io.Reader to the Parse function to get a *Blog.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blog

type Blog struct {
	Title   string
	Entries []Entry
	Updated time.Time
}

func Parse

func Parse(r io.Reader) (*Blog, error)

type Entry

type Entry struct {
	Published time.Time
	Title     string
	Href      string
}

Jump to

Keyboard shortcuts

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