components

package
v0.0.0-...-6baf9ea Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Page

func Page(title, path string, pageBody g.Node) g.Node

func PageAbout

func PageAbout() (string, g.Node)

func PageAddBook

func PageAddBook(notifications ...PageAddBookNotification) (string, g.Node)

func PageBooks

func PageBooks(books []*book.Model) (string, g.Node)

Types

type PageAddBookNotification

type PageAddBookNotification struct {
	BookID  string
	Book    book.Model
	UserErr string
}

func (*PageAddBookNotification) Color

func (n *PageAddBookNotification) Color() b.Color

func (*PageAddBookNotification) Msg

func (*PageAddBookNotification) ToNode

func (n *PageAddBookNotification) ToNode() g.Node

Jump to

Keyboard shortcuts

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