epub

package module
v0.0.0-...-5cb4f94 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 7 Imported by: 0

README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Epub

type Epub struct {
	Ncx       model.Ncx       `json:"ncx"`
	Opf       model.Opf       `json:"opf"`
	Container model.Container `json:"-"`
	Mimetype  string          `json:"-"`
	// contains filtered or unexported fields
}

Epub book

func Open

func Open(path string) (*Epub, error)

func (*Epub) Close

func (b *Epub) Close()

func (*Epub) FileNames

func (b *Epub) FileNames() []string

list resource filenamess

func (*Epub) Files

func (b *Epub) Files() []*zip.File

list resource files

func (*Epub) Items

func (b *Epub) Items() []*Item

list resource files

type Item

type Item struct {
	Name    string
	Content string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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