htmlj – git.sr.ht/~m15o/htmlj Index | Files

package htmlj

import "git.sr.ht/~m15o/htmlj"

Index

Types

type Entry

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

type Journal

type Journal struct {
	Title   string
	Entries []Entry
	Updated time.Time
	Warn    bool
}

func Parse

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

type ValidationError

type ValidationError struct {
	Msg string
}

func (ValidationError) Error

func (e ValidationError) Error() string

Source Files

htmlj.go

Version
v0.0.0-20220709084050-c36dda5901f7 (latest)
Published
Jul 9, 2022
Platform
linux/amd64
Imports
6 packages
Last checked
now

Tools for package owners.