mirror of
https://codeberg.org/scip/epuppy.git
synced 2025-12-17 04:20:59 +01:00
17 lines
320 B
Go
17 lines
320 B
Go
package epub
|
|
|
|
// Ncx OPS/toc.ncx
|
|
type Ncx struct {
|
|
Points []*NavPoint `xml:"navMap>navPoint" json:"points"`
|
|
}
|
|
|
|
// NavPoint nav point
|
|
type NavPoint struct {
|
|
Text string `xml:"navLabel>text" json:"text"`
|
|
Points []NavPoint `xml:"navPoint" json:"points"`
|
|
}
|
|
|
|
type Title struct {
|
|
Content string `xml:"head>title"`
|
|
}
|